home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
a_utils
/
_archvrs
/
mac
/
unzip101.sit
/
UnZip 1.01.rsrc
/
CODE_3.txt
< prev
next >
Wrap
Text File
|
1989-09-11
|
355KB
|
6,534 lines
# near model CODE resource
# entry label at 0x0000
entry:
fn00000000:
00000000 201F move.l D0, [A7]+
00000002 41FA 0010 lea.l A0, [PC + 0x10 /* 00000014 */]
00000006 9048 sub.w D0, A0
00000008 E248 lsr D0.w, 1
0000000A 225F movea.l A1, [A7]+
0000000C 3F00 move.w -[A7], D0
0000000E 2F09 move.l -[A7], A1
00000010 ADEA trap Pack3, auto_pop
00000012 61EC bsr -0x12 /* 00000000 */
00000014 61EA bsr -0x14 /* 00000000 */
export_77:
00000016 61E8 bsr -0x16 /* 00000000 */
00000018 61E6 bsr -0x18 /* 00000000 */
0000001A 61E4 bsr -0x1A /* 00000000 */
fn0000001C:
0000001C 201F move.l D0, [A7]+
0000001E 41FA 000E lea.l A0, [PC + 0xE /* 0000002E */]
00000022 9048 sub.w D0, A0
00000024 225F movea.l A1, [A7]+
00000026 3F00 move.w -[A7], D0
00000028 2F09 move.l -[A7], A1
0000002A ADE9 trap Pack2, auto_pop
export_80:
0000002C 61EE bsr -0x10 /* 0000001C */
export_79:
0000002E 61EC bsr -0x12 /* 0000001C */
export_78:
00000030 61EA bsr -0x14 /* 0000001C */
00000032 61E8 bsr -0x16 /* 0000001C */
00000034 61E6 bsr -0x18 /* 0000001C */
00000036 61E4 bsr -0x1A /* 0000001C */
export_51:
fn00000038:
00000038 225F movea.l A1, [A7]+
0000003A 201F move.l D0, [A7]+
0000003C 2F09 move.l -[A7], A1
0000003E A032 trap FlushEvents
00000040 4E75 rts
label00000042:
00000042 7000 moveq.l D0, 0x00
label00000044:
00000044 2F09 move.l -[A7], A1
label00000046:
00000046 31C0 0220 move.w [0x00000220 /* MemErr */], D0
0000004A 4E75 rts
0000004C 7000 moveq.l D0, 0x00
0000004E 60F6 bra -0x8 /* 00000046 */
export_52:
00000050 225F movea.l A1, [A7]+
00000052 201F move.l D0, [A7]+
00000054 A040 trap ResrvMem/ReserveMem
00000056 4EFA FFEC jmp [PC - 0x14 /* 00000044 */]
export_53:
0000005A 225F movea.l A1, [A7]+
0000005C 205F movea.l A0, [A7]+
0000005E A04B trap SetGrowZone
00000060 4EFA FFE2 jmp [PC - 0x1E /* 00000044 */]
export_54:
00000064 4A78 028E tst.w [0x0000028E /* ROM85 */]
00000068 6A2A bpl +0x2C /* 00000094 */
0000006A 2078 0130 movea.l A0, [0x00000130 /* ApplLimit */]
0000006E 43F8 0114 lea.l A1, [0x00000114 /* HeapEnd */]
00000072 2008 move.l D0, A0
00000074 9091 sub.l D0, [A1]
00000076 740C moveq.l D2, 0x0C
00000078 B082 cmp.l D0, D2
0000007A 6516 bcs +0x18 /* 00000092 */
0000007C 2251 movea.l A1, [A1]
0000007E 21C8 0114 move.l [0x00000114 /* HeapEnd */], A0
00000082 2280 move.l [A1], D0
00000084 4211 clr.b [A1]
00000086 2278 02AA movea.l A1, [0x000002AA /* ApplZone */]
0000008A 2288 move.l [A1], A0
0000008C 2082 move.l [A0], D2
0000008E D1A9 000C add.l [A1 + 0xC], D0
label00000092:
00000092 4E75 rts
label00000094:
00000094 A063 trap MaxApplZone
00000096 4E75 rts
export_55:
fn00000098:
00000098 225F movea.l A1, [A7]+
0000009A 201F move.l D0, [A7]+
0000009C A11E trap NewPtr, flags=1
0000009E 2E88 move.l [A7], A0
000000A0 4EFA FFA2 jmp [PC - 0x5E /* 00000044 */]
export_56:
fn000000A4:
000000A4 225F movea.l A1, [A7]+
000000A6 205F movea.l A0, [A7]+
000000A8 A01F trap DisposPtr/DisposePtr
000000AA 4EFA FF98 jmp [PC - 0x68 /* 00000044 */]
export_57:
000000AE 225F movea.l A1, [A7]+
000000B0 205F movea.l A0, [A7]+
000000B2 A021 trap GetPtrSize
000000B4 2E80 move.l [A7], D0
000000B6 6A06 bpl +0x8 /* 000000BE */
000000B8 4297 clr.l [A7]
000000BA 4EFA FF88 jmp [PC - 0x78 /* 00000044 */]
label000000BE:
000000BE 4EFA FF82 jmp [PC - 0x7E /* 00000042 */]
export_58:
000000C2 225F movea.l A1, [A7]+
000000C4 201F move.l D0, [A7]+
000000C6 205F movea.l A0, [A7]+
000000C8 A020 trap SetPtrSize
000000CA 4EFA FF78 jmp [PC - 0x88 /* 00000044 */]
export_59:
000000CE 225F movea.l A1, [A7]+
000000D0 201F move.l D0, [A7]+
000000D2 A122 trap NewHandle, flags=1
000000D4 2E88 move.l [A7], A0
000000D6 4EFA FF6C jmp [PC - 0x94 /* 00000044 */]
export_60:
fn000000DA:
000000DA 225F movea.l A1, [A7]+
000000DC 205F movea.l A0, [A7]+
000000DE A023 trap DisposHandle/DisposeHandle
000000E0 4EFA FF62 jmp [PC - 0x9E /* 00000044 */]
export_61:
000000E4 A036 trap MoreMasters
000000E6 4EFA FF5E jmp [PC - 0xA2 /* 00000046 */]
export_62:
000000EA 221F move.l D1, [A7]+
000000EC 201F move.l D0, [A7]+
000000EE 225F movea.l A1, [A7]+
000000F0 205F movea.l A0, [A7]+
000000F2 A02E trap BlockMove/BlockMoveData
000000F4 2241 movea.l A1, D1
000000F6 4EFA FF4C jmp [PC - 0xB4 /* 00000044 */]
export_63:
000000FA 3F78 0220 0004 move.w [A7 + 0x4], [0x00000220 /* MemErr */]
00000100 4E75 rts
fn00000102:
00000102 225F movea.l A1, [A7]+
00000104 301F move.w D0, [A7]+
00000106 A146 trap GetTrapAddress, flags=1
00000108 2E88 move.l [A7], A0
0000010A 4ED1 jmp [A1]
export_64:
0000010C 206F 0008 movea.l A0, [A7 + 0x8]
00000110 A9C7 trap DateToSeconds/Date2Secs
00000112 4CDF 0302 movem.l A1,A0,D1, [A7]+
00000116 2080 move.l [A0], D0
00000118 2041 movea.l A0, D1
0000011A 4ED0 jmp [A0]
export_65:
0000011C 201F move.l D0, [A7]+
0000011E 225F movea.l A1, [A7]+
00000120 205F movea.l A0, [A7]+
00000122 2F00 move.l -[A7], D0
00000124 A03B trap Delay
00000126 2280 move.l [A1], D0
00000128 4E75 rts
fn0000012A:
0000012A 225F movea.l A1, [A7]+
0000012C 101F move.b D0, [A7]+
0000012E 205F movea.l A0, [A7]+
00000130 6604 bne +0x6 /* 00000136 */
00000132 A000 trap Open/PBHOpen/HOpen
00000134 6002 bra +0x4 /* 00000138 */
label00000136:
00000136 A400 trap Open/PBHOpen/HOpen, flags=4
label00000138:
00000138 3E80 move.w [A7], D0
0000013A 4ED1 jmp [A1]
fn0000013C:
0000013C 225F movea.l A1, [A7]+
0000013E 101F move.b D0, [A7]+
00000140 205F movea.l A0, [A7]+
00000142 6604 bne +0x6 /* 00000148 */
00000144 A001 trap Close
00000146 6002 bra +0x4 /* 0000014A */
label00000148:
00000148 A401 trap Close, flags=4
label0000014A:
0000014A 3E80 move.w [A7], D0
0000014C 4ED1 jmp [A1]
fn0000014E:
0000014E 225F movea.l A1, [A7]+
00000150 101F move.b D0, [A7]+
00000152 205F movea.l A0, [A7]+
00000154 6604 bne +0x6 /* 0000015A */
00000156 A002 trap Read
00000158 6002 bra +0x4 /* 0000015C */
label0000015A:
0000015A A402 trap Read, flags=4
label0000015C:
0000015C 3E80 move.w [A7], D0
0000015E 4ED1 jmp [A1]
fn00000160:
00000160 225F movea.l A1, [A7]+
00000162 101F move.b D0, [A7]+
00000164 205F movea.l A0, [A7]+
00000166 6604 bne +0x6 /* 0000016C */
00000168 A003 trap Write
0000016A 6002 bra +0x4 /* 0000016E */
label0000016C:
0000016C A403 trap Write, flags=4
label0000016E:
0000016E 3E80 move.w [A7], D0
00000170 4ED1 jmp [A1]
fn00000172:
00000172 225F movea.l A1, [A7]+
00000174 101F move.b D0, [A7]+
00000176 205F movea.l A0, [A7]+
00000178 6604 bne +0x6 /* 0000017E */
0000017A A014 trap GetVol/PBHGetVol/HGetVol
0000017C 6002 bra +0x4 /* 00000180 */
label0000017E:
0000017E A414 trap GetVol/PBHGetVol/HGetVol, flags=4
label00000180:
00000180 3E80 move.w [A7], D0
00000182 4ED1 jmp [A1]
fn00000184:
00000184 225F movea.l A1, [A7]+
00000186 101F move.b D0, [A7]+
00000188 205F movea.l A0, [A7]+
0000018A 6604 bne +0x6 /* 00000190 */
0000018C A013 trap FlushVol
0000018E 6002 bra +0x4 /* 00000192 */
label00000190:
00000190 A413 trap FlushVol, flags=4
label00000192:
00000192 3E80 move.w [A7], D0
00000194 4ED1 jmp [A1]
fn00000196:
00000196 225F movea.l A1, [A7]+
00000198 101F move.b D0, [A7]+
0000019A 205F movea.l A0, [A7]+
0000019C 6604 bne +0x6 /* 000001A2 */
0000019E A008 trap Create/PBHCreate/HCreate
000001A0 6002 bra +0x4 /* 000001A4 */
label000001A2:
000001A2 A408 trap Create/PBHCreate/HCreate, flags=4
label000001A4:
000001A4 3E80 move.w [A7], D0
000001A6 4ED1 jmp [A1]
export_66:
fn000001A8:
000001A8 225F movea.l A1, [A7]+
000001AA 101F move.b D0, [A7]+
000001AC 205F movea.l A0, [A7]+
000001AE 6604 bne +0x6 /* 000001B4 */
000001B0 A009 trap Delete/PBHDelete/HDelete
000001B2 6002 bra +0x4 /* 000001B6 */
label000001B4:
000001B4 A409 trap Delete/PBHDelete/HDelete, flags=4
label000001B6:
000001B6 3E80 move.w [A7], D0
000001B8 4ED1 jmp [A1]
export_67:
000001BA 225F movea.l A1, [A7]+
000001BC 101F move.b D0, [A7]+
000001BE 205F movea.l A0, [A7]+
000001C0 6604 bne +0x6 /* 000001C6 */
000001C2 A00B trap Rename/PBHRename/HRename
000001C4 6002 bra +0x4 /* 000001C8 */
label000001C6:
000001C6 A40B trap Rename/PBHRename/HRename, flags=4
label000001C8:
000001C8 3E80 move.w [A7], D0
000001CA 4ED1 jmp [A1]
export_68:
fn000001CC:
000001CC 225F movea.l A1, [A7]+
000001CE 101F move.b D0, [A7]+
000001D0 205F movea.l A0, [A7]+
000001D2 6604 bne +0x6 /* 000001D8 */
000001D4 A00C trap GetFileInfo/PBHGetFInfo/HGetFileInfo
000001D6 6002 bra +0x4 /* 000001DA */
label000001D8:
000001D8 A40C trap GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=4
label000001DA:
000001DA 3E80 move.w [A7], D0
000001DC 4ED1 jmp [A1]
export_69:
fn000001DE:
000001DE 225F movea.l A1, [A7]+
000001E0 101F move.b D0, [A7]+
000001E2 205F movea.l A0, [A7]+
000001E4 6604 bne +0x6 /* 000001EA */
000001E6 A00D trap SetFileInfo/PBHSetFInfo/HSetFileInfo
000001E8 6002 bra +0x4 /* 000001EC */
label000001EA:
000001EA A40D trap SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=4
label000001EC:
000001EC 3E80 move.w [A7], D0
000001EE 4ED1 jmp [A1]
fn000001F0:
000001F0 225F movea.l A1, [A7]+
000001F2 101F move.b D0, [A7]+
000001F4 205F movea.l A0, [A7]+
000001F6 6604 bne +0x6 /* 000001FC */
000001F8 A011 trap GetEOF
000001FA 6002 bra +0x4 /* 000001FE */
label000001FC:
000001FC A411 trap GetEOF, flags=4
label000001FE:
000001FE 3E80 move.w [A7], D0
00000200 4ED1 jmp [A1]
fn00000202:
00000202 225F movea.l A1, [A7]+
00000204 101F move.b D0, [A7]+
00000206 205F movea.l A0, [A7]+
00000208 6604 bne +0x6 /* 0000020E */
0000020A A012 trap SetEOF
0000020C 6002 bra +0x4 /* 00000210 */
label0000020E:
0000020E A412 trap SetEOF, flags=4
label00000210:
00000210 3E80 move.w [A7], D0
00000212 4ED1 jmp [A1]
fn00000214:
00000214 225F movea.l A1, [A7]+
00000216 101F move.b D0, [A7]+
00000218 205F movea.l A0, [A7]+
0000021A 6604 bne +0x6 /* 00000220 */
0000021C A018 trap GetFPos
0000021E 6002 bra +0x4 /* 00000222 */
label00000220:
00000220 A418 trap GetFPos, flags=4
label00000222:
00000222 3E80 move.w [A7], D0
00000224 4ED1 jmp [A1]
fn00000226:
00000226 225F movea.l A1, [A7]+
00000228 101F move.b D0, [A7]+
0000022A 205F movea.l A0, [A7]+
0000022C 6604 bne +0x6 /* 00000232 */
0000022E A044 trap SetFPos
00000230 6002 bra +0x4 /* 00000234 */
label00000232:
00000232 A444 trap SetFPos, flags=4
label00000234:
00000234 3E80 move.w [A7], D0
00000236 4ED1 jmp [A1]
export_70:
00000238 4E56 FFB0 link A6, -0x0050
0000023C 41EE FFB0 lea.l A0, [A6 - 0x50]
00000240 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00000246 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
0000024C 4228 001A clr.b [A0 + 0x1A]
00000250 4268 001C clr.w [A0 + 0x1C]
00000254 A00C trap GetFileInfo/PBHGetFInfo/HGetFileInfo
00000256 3D40 0012 move.w [A6 + 0x12], D0
0000025A 41E8 0020 lea.l A0, [A0 + 0x20]
0000025E 226E 0008 movea.l A1, [A6 + 0x8]
00000262 7010 moveq.l D0, 0x10
00000264 A02E trap BlockMove/BlockMoveData
00000266 4E5E unlink A6
00000268 225F movea.l A1, [A7]+
0000026A DEFC 000A add.w A7, 0xA /* '\n' */
0000026E 4ED1 jmp [A1]
export_71:
00000270 4E56 FFC0 link A6, -0x0040
00000274 41EE FFC0 lea.l A0, [A6 - 0x40]
00000278 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
0000027E 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00000284 A015 trap SetVol/PBHSetVol/HSetVol
00000286 3D40 000E move.w [A6 + 0xE], D0
0000028A 4E5E unlink A6
0000028C 225F movea.l A1, [A7]+
0000028E 5C8F addq.l A7, 6
00000290 4ED1 jmp [A1]
export_72:
00000292 4E56 FFB0 link A6, -0x0050
00000296 41EE FFB0 lea.l A0, [A6 - 0x50]
0000029A 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
000002A0 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
000002A6 4228 001A clr.b [A0 + 0x1A]
000002AA 4268 001C clr.w [A0 + 0x1C]
000002AE A00C trap GetFileInfo/PBHGetFInfo/HGetFileInfo
000002B0 43E8 0020 lea.l A1, [A0 + 0x20]
000002B4 206E 0008 movea.l A0, [A6 + 0x8]
000002B8 7010 moveq.l D0, 0x10
000002BA A02E trap BlockMove/BlockMoveData
000002BC 41EE FFB0 lea.l A0, [A6 - 0x50]
000002C0 A00D trap SetFileInfo/PBHSetFInfo/HSetFileInfo
000002C2 3D40 0012 move.w [A6 + 0x12], D0
000002C6 4E5E unlink A6
000002C8 225F movea.l A1, [A7]+
000002CA DEFC 000A add.w A7, 0xA /* '\n' */
000002CE 4ED1 jmp [A1]
fn000002D0:
000002D0 225F movea.l A1, [A7]+
000002D2 7200 moveq.l D1, 0x00
000002D4 322F 0004 move.w D1, [A7 + 0x4]
000002D8 2001 move.l D0, D1
000002DA 2078 034E movea.l A0, [0x0000034E /* FCBSPtr */]
000002DE B050 cmp.w D0, [A0]
000002E0 640C bcc +0xE /* 000002EE */
000002E2 2070 0014 movea.l A0, [A0 + D0.w + 0x14]
000002E6 3028 004E move.w D0, [A0 + 0x4E]
000002EA 7200 moveq.l D1, 0x00
000002EC 6006 bra +0x8 /* 000002F4 */
label000002EE:
000002EE 7000 moveq.l D0, 0x00
000002F0 323C FFCD move.w D1, 0xFFCD
label000002F4:
000002F4 2057 movea.l A0, [A7]
000002F6 3080 move.w [A0], D0
000002F8 5C4F addq.w A7, 6
000002FA 3E81 move.w [A7], D1
000002FC 4ED1 jmp [A1]
export_73:
000002FE 225F movea.l A1, [A7]+
00000300 101F move.b D0, [A7]+
00000302 205F movea.l A0, [A7]+
00000304 6604 bne +0x6 /* 0000030A */
00000306 A207 trap GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00000308 6002 bra +0x4 /* 0000030C */
label0000030A:
0000030A A607 trap GetVolInfo/PBHGetVInfo/HGetVInfo, flags=6
label0000030C:
0000030C 3E80 move.w [A7], D0
0000030E 4ED1 jmp [A1]
export_74:
00000310 206F 0004 movea.l A0, [A7 + 0x4]
00000314 202F 0008 move.l D0, [A7 + 0x8]
00000318 4267 clr.w -[A7]
0000031A A9EE trap Pack7/DecStr68K
0000031C 205F movea.l A0, [A7]+
0000031E 504F addq.w A7, 8
00000320 4ED0 jmp [A0]
fn00000322:
00000322 4A78 028E tst.w [0x0000028E /* ROM85 */]
00000326 6B1C bmi +0x1E /* 00000344 */
00000328 303C A89F move.w D0, 0xA89F
0000032C A346 trap GetOSTrapAddress, flags=3
0000032E 2248 movea.l A1, A0
00000330 303C A055 move.w D0, 0xA055
00000334 A346 trap GetOSTrapAddress, flags=3
00000336 B3C8 cmpa.l A1, A0
00000338 670A beq +0xC /* 00000344 */
0000033A 225F movea.l A1, [A7]+
0000033C 201F move.l D0, [A7]+
0000033E A055 trap StripAddress
00000340 2E80 move.l [A7], D0
00000342 4ED1 jmp [A1]
label00000344:
00000344 225F movea.l A1, [A7]+
00000346 201F move.l D0, [A7]+
00000348 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
0000034C 2E80 move.l [A7], D0
0000034E 4ED1 jmp [A1]
fn00000350:
00000350 206F 000C movea.l A0, [A7 + 0xC]
00000354 202F 0004 move.l D0, [A7 + 0x4]
00000358 A9E3 trap PtrToHand
0000035A 3F40 0010 move.w [A7 + 0x10], D0
0000035E 226F 0008 movea.l A1, [A7 + 0x8]
00000362 2288 move.l [A1], A0
00000364 205F movea.l A0, [A7]+
00000366 DEFC 000C add.w A7, 0xC
0000036A 4ED0 jmp [A0]
export_76:
fn0000036C:
0000036C 206F 0004 movea.l A0, [A7 + 0x4]
00000370 43E8 0001 lea.l A1, [A0 + 0x1]
00000374 7000 moveq.l D0, 0x00
label00000376:
00000376 1210 move.b D1, [A0]
00000378 10C0 move.b [A0]+, D0
0000037A 1001 move.b D0, D1
0000037C 66F8 bne -0x6 /* 00000376 */
0000037E 91C9 sub.l A0, A1
00000380 2008 move.l D0, A0
00000382 1300 move.b -[A1], D0
00000384 2009 move.l D0, A1
00000386 4E75 rts
export_75:
fn00000388:
00000388 206F 0004 movea.l A0, [A7 + 0x4]
0000038C 7000 moveq.l D0, 0x00
0000038E 1010 move.b D0, [A0]
00000390 6004 bra +0x6 /* 00000396 */
label00000392:
00000392 10E8 0001 move.b [A0]+, [A0 + 0x1]
label00000396:
00000396 51C8 FFFA dbf D0, -0x8 /* 00000392 */
0000039A 4210 clr.b [A0]
0000039C 202F 0004 move.l D0, [A7 + 0x4]
000003A0 4E75 rts
fn000003A2:
000003A2 4E56 0000 link A6, 0
000003A6 48E7 3C00 movem.l -[A7], D2,D3,D4,D5
000003AA 2A2E 0010 move.l D5, [A6 + 0x10]
000003AE 206E 0008 movea.l A0, [A6 + 0x8]
000003B2 226E 000C movea.l A1, [A6 + 0xC]
000003B6 2819 move.l D4, [A1]+
000003B8 5248 addq.w A0, 1
000003BA 243C FFFF FFB0 move.l D2, 0xFFFFFFB0
000003C0 7200 moveq.l D1, 0x00
000003C2 1219 move.b D1, [A1]+
000003C4 671E beq +0x20 /* 000003E4 */
000003C6 0804 0018 btst.b D4, 0x18
000003CA 6706 beq +0x8 /* 000003D2 */
000003CC 10FC 002D move.b [A0]+, 0x2D /* '-' */
000003D0 600A bra +0xC /* 000003DC */
label000003D2:
000003D2 0805 0018 btst.b D5, 0x18
000003D6 6606 bne +0x8 /* 000003DE */
000003D8 10FC 0020 move.b [A0]+, 0x20 /* ' ' */
label000003DC:
000003DC 5242 addq.w D2, 1
label000003DE:
000003DE 1011 move.b D0, [A1]
000003E0 0C00 003F cmpi.b D0, 0x3F /* '?' */
label000003E4:
000003E4 6700 00FE beq +0x100 /* 000004E4 */
000003E8 0000 0020 ori.b D0, 0x20 /* ' ' */
000003EC 0C00 0069 cmpi.b D0, 0x69 /* 'i' */
000003F0 6700 0152 beq +0x154 /* 00000544 */
000003F4 0C00 006E cmpi.b D0, 0x6E /* 'n' */
000003F8 6646 bne +0x48 /* 00000440 */
000003FA 10FC 004E move.b [A0]+, 0x4E /* 'N' */
000003FE 10FC 0041 move.b [A0]+, 0x41 /* 'A' */
00000402 10FC 004E move.b [A0]+, 0x4E /* 'N' */
00000406 10FC 0028 move.b [A0]+, 0x28 /* '(' */
0000040A 117C 0029 0003 move.b [A0 + 0x3], 0x29 /* ')' */
00000410 5A42 addq.w D2, 5
00000412 7600 moveq.l D3, 0x00
00000414 0C01 0005 cmpi.b D1, 0x5
00000418 6F02 ble +0x4 /* 0000041C */
0000041A 7205 moveq.l D1, 0x05
label0000041C:
0000041C 610C bsr +0xE /* 0000042A */
0000041E 2003 move.l D0, D3
00000420 6108 bsr +0xA /* 0000042A */
00000422 E903 asl D3.b, 4
00000424 8680 or.l D3, D0
label00000426:
00000426 7004 moveq.l D0, 0x04
00000428 6068 bra +0x6A /* 00000492 */
fn0000042A:
0000042A 5341 subq.w D1, 1
0000042C 6FF8 ble -0x6 /* 00000426 */
0000042E 1631 1000 move.b D3, [A1 + D1.w]
00000432 0C03 0039 cmpi.b D3, 0x39 /* '9' */
00000436 6F02 ble +0x4 /* 0000043A */
00000438 5F03 subq.b D3, 7
label0000043A:
0000043A 0203 000F andi.b D3, 0xF
0000043E 4E75 rts
label00000440:
00000440 0C11 0030 cmpi.b [A1], 0x30 /* '0' */
00000444 6604 bne +0x6 /* 0000044A */
00000446 7201 moveq.l D1, 0x01
00000448 7800 moveq.l D4, 0x00
label0000044A:
0000044A 0805 0018 btst.b D5, 0x18
0000044E 6600 009E bne +0xA0 /* 000004EE */
00000452 4A45 tst.w D5
00000454 6E02 bgt +0x4 /* 00000458 */
00000456 7A01 moveq.l D5, 0x01
label00000458:
00000458 7001 moveq.l D0, 0x01
0000045A 6162 bsr +0x64 /* 000004BE */
0000045C 3601 move.w D3, D1
0000045E 48C3 ext.l D3
00000460 5383 subq.l D3, 1
00000462 6E06 bgt +0x8 /* 0000046A */
00000464 0C45 0001 cmpi.w D5, 0x1
00000468 6F0C ble +0xE /* 00000476 */
label0000046A:
0000046A 6160 bsr +0x62 /* 000004CC */
0000046C 3003 move.w D0, D3
0000046E 614E bsr +0x50 /* 000004BE */
00000470 3005 move.w D0, D5
00000472 9041 sub.w D0, D1
00000474 6168 bsr +0x6A /* 000004DE */
label00000476:
00000476 5442 addq.w D2, 2
00000478 6E6A bgt +0x6C /* 000004E4 */
0000047A 10FC 0065 move.b [A0]+, 0x65 /* 'e' */
0000047E 48C4 ext.l D4
00000480 D684 add.l D3, D4
00000482 6D06 blt +0x8 /* 0000048A */
00000484 10FC 002B move.b [A0]+, 0x2B /* '+' */
00000488 6006 bra +0x8 /* 00000490 */
label0000048A:
0000048A 10FC 002D move.b [A0]+, 0x2D /* '-' */
0000048E 4483 neg.l D3
label00000490:
00000490 7000 moveq.l D0, 0x00
label00000492:
00000492 43FA 00C0 lea.l A1, [PC + 0xC0 /* 00000554 */]
label00000496:
00000496 5440 addq.w D0, 2
00000498 B671 00FE cmp.w D3, [A1 + D0.w - 0x2]
0000049C 6518 bcs +0x1A /* 000004B6 */
0000049E 0C00 0008 cmpi.b D0, 0x8
000004A2 6DF2 blt -0xC /* 00000496 */
label000004A4:
000004A4 86F1 00FE divu.w D3, [A1 + D0.w - 0x2]
label000004A8:
000004A8 5242 addq.w D2, 1
000004AA 6E38 bgt +0x3A /* 000004E4 */
000004AC 0643 0030 addi.w D3, 0x30 /* '0' */
000004B0 10C3 move.b [A0]+, D3
000004B2 4843 swap.w D3
000004B4 48C3 ext.l D3
label000004B6:
000004B6 5540 subq.w D0, 2
000004B8 6EEA bgt -0x14 /* 000004A4 */
000004BA 67EC beq -0x12 /* 000004A8 */
000004BC 606E bra +0x70 /* 0000052C */
fn000004BE:
000004BE 6F0A ble +0xC /* 000004CA */
000004C0 D440 add.w D2, D0
000004C2 6E20 bgt +0x22 /* 000004E4 */
label000004C4:
000004C4 10D9 move.b [A0]+, [A1]+
000004C6 5340 subq.w D0, 1
000004C8 6EFA bgt -0x4 /* 000004C4 */
label000004CA:
000004CA 4E75 rts
fn000004CC:
000004CC 5242 addq.w D2, 1
000004CE 6E14 bgt +0x16 /* 000004E4 */
000004D0 10FC 002E move.b [A0]+, 0x2E /* '.' */
000004D4 4E75 rts
label000004D6:
000004D6 5242 addq.w D2, 1
000004D8 6E0A bgt +0xC /* 000004E4 */
000004DA 10FC 0030 move.b [A0]+, 0x30 /* '0' */
fn000004DE:
000004DE 5340 subq.w D0, 1
000004E0 6CF4 bge -0xA /* 000004D6 */
000004E2 4E75 rts
label000004E4:
000004E4 206E 0008 movea.l A0, [A6 + 0x8]
000004E8 30BC 013F move.w [A0], 0x13F
000004EC 6048 bra +0x4A /* 00000536 */
label000004EE:
000004EE 3601 move.w D3, D1
000004F0 D644 add.w D3, D4
000004F2 6F22 ble +0x24 /* 00000516 */
000004F4 4A44 tst.w D4
000004F6 6C0C bge +0xE /* 00000504 */
000004F8 3003 move.w D0, D3
000004FA 61C2 bsr -0x3C /* 000004BE */
000004FC 61CE bsr -0x30 /* 000004CC */
000004FE 7000 moveq.l D0, 0x00
00000500 9044 sub.w D0, D4
00000502 6020 bra +0x22 /* 00000524 */
label00000504:
00000504 3001 move.w D0, D1
00000506 61B6 bsr -0x48 /* 000004BE */
00000508 3004 move.w D0, D4
0000050A 61D2 bsr -0x2C /* 000004DE */
0000050C 3005 move.w D0, D5
0000050E 6F1C ble +0x1E /* 0000052C */
00000510 61BA bsr -0x44 /* 000004CC */
00000512 61CA bsr -0x34 /* 000004DE */
00000514 6016 bra +0x18 /* 0000052C */
label00000516:
00000516 7001 moveq.l D0, 0x01
00000518 61C4 bsr -0x3A /* 000004DE */
0000051A 61B0 bsr -0x4E /* 000004CC */
0000051C 7000 moveq.l D0, 0x00
0000051E 9043 sub.w D0, D3
00000520 61BC bsr -0x42 /* 000004DE */
00000522 3001 move.w D0, D1
label00000524:
00000524 6198 bsr -0x66 /* 000004BE */
00000526 3004 move.w D0, D4
00000528 D045 add.w D0, D5
0000052A 61B2 bsr -0x4C /* 000004DE */
label0000052C:
0000052C 206E 0008 movea.l A0, [A6 + 0x8]
00000530 0642 0050 addi.w D2, 0x50 /* 'P' */
00000534 1082 move.b [A0], D2
label00000536:
00000536 4CDF 003C movem.l D5,D4,D3,D2, [A7]+
0000053A 4E5E unlink A6
0000053C 205F movea.l A0, [A7]+
0000053E DEFC 000C add.w A7, 0xC
00000542 4ED0 jmp [A0]
label00000544:
00000544 10FC 0049 move.b [A0]+, 0x49 /* 'I' */
00000548 10FC 004E move.b [A0]+, 0x4E /* 'N' */
0000054C 10BC 0046 move.b [A0], 0x46 /* 'F' */
00000550 5642 addq.w D2, 3
00000552 60D8 bra -0x26 /* 0000052C */
00000554 000A 0064 ori.b A2, 0x64 /* 'd' */
00000558 03E8 2710 bset [A0 + 0x2710], D1
fn0000055C:
0000055C 4E56 0000 link A6, 0
00000560 206D 006C movea.l A0, [A5 + 0x6C]
00000564 4E90 jsr [A0]
00000566 A9F4 trap ExitToShell
00000568 4E5E unlink A6
0000056A 4E75 rts
0000056C 4558 chk.w D2, [A0]+
0000056E 4954 chk.w D4, [A4]
00000570 2020 move.l D0, -[A0]
00000572 2020 move.l D0, -[A0]
fn00000574:
00000574 4E56 0000 link A6, 0
00000578 2F0C move.l -[A7], A4
0000057A 0C6D 0020 9D90 cmpi.w [A5 - 0x6270], 0x20 /* ' ' */
00000580 6604 bne +0x6 /* 00000586 */
00000582 7000 moveq.l D0, 0x00
00000584 6034 bra +0x36 /* 000005BA */
label00000586:
00000586 302D 9D90 move.w D0, [A5 - 0x6270]
0000058A 526D 9D90 addq.w [A5 - 0x6270], 1
0000058E C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00000590 0006 41ED ori.b D6, 0xED
00000594 9CD0 sub.w A6, [A0]
00000596 D1C0 add.l A0, D0
00000598 2848 movea.l A4, A0
0000059A 28AE 0008 move.l [A4], [A6 + 0x8]
0000059E 4AAD 9D92 tst.l [A5 - 0x626E]
000005A2 6614 bne +0x16 /* 000005B8 */
000005A4 41ED 018A lea.l A0, [A5 + 0x18A]
000005A8 2D48 0008 move.l [A6 + 0x8], A0
000005AC 2B6D 006C 9D92 move.l [A5 - 0x626E], [A5 + 0x6C]
000005B2 2B6E 0008 006C move.l [A5 + 0x6C], [A6 + 0x8]
label000005B8:
000005B8 2014 move.l D0, [A4]
label000005BA:
000005BA 285F movea.l A4, [A7]+
000005BC 4E5E unlink A6
000005BE 4E75 rts
000005C0 4F4E chk.w D7, A6
000005C2 4558 chk.w D2, [A0]+
000005C4 4954 chk.w D4, [A4]
000005C6 2020 move.l D0, -[A0]
export_45:
000005C8 3F3C 0001 move.w -[A7], 0x1
000005CC 4EBA 008C jsr [PC + 0x8C /* 0000065A */]
000005D0 548F addq.l A7, 2
000005D2 4E75 rts
export_48:
000005D4 4E56 0000 link A6, 0
000005D8 2F0C move.l -[A7], A4
000005DA 0C6D 0020 9D90 cmpi.w [A5 - 0x6270], 0x20 /* ' ' */
000005E0 6604 bne +0x6 /* 000005E6 */
000005E2 7000 moveq.l D0, 0x00
000005E4 605A bra +0x5C /* 00000640 */
label000005E6:
000005E6 302D 9D90 move.w D0, [A5 - 0x6270]
000005EA 526D 9D90 addq.w [A5 - 0x6270], 1
000005EE C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
000005F0 0006 41ED ori.b D6, 0xED
000005F4 9CD0 sub.w A6, [A0]
000005F6 D1C0 add.l A0, D0
000005F8 2848 movea.l A4, A0
000005FA 28AE 0008 move.l [A4], [A6 + 0x8]
000005FE 7001 moveq.l D0, 0x01
00000600 3940 0004 move.w [A4 + 0x4], D0
00000604 4AAD 9D96 tst.l [A5 - 0x626A]
00000608 6634 bne +0x36 /* 0000063E */
0000060A 41ED 0192 lea.l A0, [A5 + 0x192]
0000060E 2D48 0008 move.l [A6 + 0x8], A0
00000612 303C A9F4 move.w D0, 0xA9F4
00000616 A146 trap GetTrapAddress, flags=1
00000618 2B48 9D96 move.l [A5 - 0x626A], A0
0000061C 206E 0008 movea.l A0, [A6 + 0x8]
00000620 4A78 028E tst.w [0x0000028E /* ROM85 */]
00000624 6A12 bpl +0x14 /* 00000638 */
00000626 7006 moveq.l D0, 0x06
00000628 A51E trap NewPtrSys, flags=5
0000062A 2B48 9D9A move.l [A5 - 0x6266], A0
0000062E 30BC 4EF9 move.w [A0], 0x4EF9
00000632 216E 0008 0002 move.l [A0 + 0x2], [A6 + 0x8]
label00000638:
00000638 303C A9F4 move.w D0, 0xA9F4
0000063C A047 trap SetTrapAddress
label0000063E:
0000063E 2014 move.l D0, [A4]
label00000640:
00000640 285F movea.l A4, [A7]+
00000642 4E5E unlink A6
00000644 4E75 rts
00000646 4F4E chk.w D7, A6
00000648 4558 chk.w D2, [A0]+
0000064A 4954 chk.w D4, [A4]
0000064C 2020 move.l D0, -[A0]
export_46:
0000064E 4267 clr.w -[A7]
00000650 4EBA 0008 jsr [PC + 0x8 /* 0000065A */]
00000654 548F addq.l A7, 2
00000656 A9F4 trap ExitToShell
00000658 4E75 rts
export_49:
fn0000065A:
0000065A 4E56 FFFA link A6, -0x0006
0000065E 2F0C move.l -[A7], A4
00000660 2F0D move.l -[A7], A5
00000662 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00000666 41ED 9D90 lea.l A0, [A5 - 0x6270]
0000066A 2848 movea.l A4, A0
0000066C 7020 moveq.l D0, 0x20
0000066E 3D40 FFFA move.w [A6 - 0x6], D0
00000672 601C bra +0x1E /* 00000690 */
label00000674:
00000674 5D8C subq.l A4, 6
00000676 2D54 FFFC move.l [A6 - 0x4], [A4]
0000067A 6714 beq +0x16 /* 00000690 */
0000067C 4294 clr.l [A4]
0000067E 4A6E 0008 tst.w [A6 + 0x8]
00000682 6606 bne +0x8 /* 0000068A */
00000684 4A6C 0004 tst.w [A4 + 0x4]
00000688 6706 beq +0x8 /* 00000690 */
label0000068A:
0000068A 206E FFFC movea.l A0, [A6 - 0x4]
0000068E 4E90 jsr [A0]
label00000690:
00000690 302E FFFA move.w D0, [A6 - 0x6]
00000694 536E FFFA subq.w [A6 - 0x6], 1
00000698 4A40 tst.w D0
0000069A 66D8 bne -0x26 /* 00000674 */
0000069C 202D 9D9A move.l D0, [A5 - 0x6266]
000006A0 6708 beq +0xA /* 000006AA */
000006A2 2040 movea.l A0, D0
000006A4 A01F trap DisposPtr/DisposePtr
000006A6 42AD 9D9A clr.l [A5 - 0x6266]
label000006AA:
000006AA 202D 9D96 move.l D0, [A5 - 0x626A]
000006AE 670C beq +0xE /* 000006BC */
000006B0 2040 movea.l A0, D0
000006B2 303C A9F4 move.w D0, 0xA9F4
000006B6 A047 trap SetTrapAddress
000006B8 42AD 9D96 clr.l [A5 - 0x626A]
label000006BC:
000006BC 206D 006C movea.l A0, [A5 + 0x6C]
000006C0 202D 9D92 move.l D0, [A5 - 0x626E]
000006C4 6702 beq +0x4 /* 000006C8 */
000006C6 2040 movea.l A0, D0
label000006C8:
000006C8 4E90 jsr [A0]
000006CA 41ED 019A lea.l A0, [A5 + 0x19A]
000006CE 2B48 9D92 move.l [A5 - 0x626E], A0
000006D2 2A5F movea.l A5, [A7]+
000006D4 285F movea.l A4, [A7]+
000006D6 4E5E unlink A6
000006D8 4E75 rts
000006DA 4558 chk.w D2, [A0]+
000006DC 4954 chk.w D4, [A4]
000006DE 494E chk.w D4, A6
000006E0 4720 .invalid 3, -[A0] // invalid opcode 4 with b == 4
export_47:
000006E2 4E75 rts
export_50:
fn000006E4:
000006E4 4E56 FFFC link A6, -0x0004
000006E8 42A7 clr.l -[A7]
000006EA 3F3C A055 move.w -[A7], 0xA055
000006EE 4EBA FA12 jsr [PC - 0x5EE /* 00000102 */]
000006F2 201F move.l D0, [A7]+
000006F4 42A7 clr.l -[A7]
000006F6 3F3C A89F move.w -[A7], 0xA89F
000006FA 2D40 FFFC move.l [A6 - 0x4], D0
000006FE 4EBA FA02 jsr [PC - 0x5FE /* 00000102 */]
00000702 201F move.l D0, [A7]+
00000704 B0AE FFFC cmp.l D0, [A6 - 0x4]
00000708 6618 bne +0x1A /* 00000722 */
0000070A 2038 0028 move.l D0, [0x00000028 /* __m68k_vec_a_trap__ */]
0000070E C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00000712 2238 02AE move.l D1, [0x000002AE /* ROMBase */]
00000716 C2B8 031A and.l D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
0000071A B081 cmp.l D0, D1
0000071C 6C28 bge +0x2A /* 00000746 */
0000071E A9FF trap Debugger
00000720 6024 bra +0x26 /* 00000746 */
label00000722:
00000722 42A7 clr.l -[A7]
00000724 2F38 0028 move.l -[A7], [0x00000028 /* __m68k_vec_a_trap__ */]
00000728 4EBA FBF8 jsr [PC - 0x408 /* 00000322 */]
0000072C 201F move.l D0, [A7]+
0000072E 42A7 clr.l -[A7]
00000730 2F38 02AE move.l -[A7], [0x000002AE /* ROMBase */]
00000734 2D40 FFFC move.l [A6 - 0x4], D0
00000738 4EBA FBE8 jsr [PC - 0x418 /* 00000322 */]
0000073C 201F move.l D0, [A7]+
0000073E B0AE FFFC cmp.l D0, [A6 - 0x4]
00000742 6F02 ble +0x4 /* 00000746 */
00000744 A9FF trap Debugger
label00000746:
00000746 A9F4 trap ExitToShell
00000748 4E5E unlink A6
0000074A 4E75 rts
0000074C 4142 chk.w D0, D2
0000074E 4F52 chk.w D7, [A2]
00000750 5420 addq.b -[A0], 2
00000752 2020 move.l D0, -[A0]
export_28:
00000754 4E56 0000 link A6, 0
00000758 206D 9D9E movea.l A0, [A5 - 0x6262]
0000075C 52AD 9D9E addq.l [A5 - 0x6262], 1
00000760 10AE 0009 move.b [A0], [A6 + 0x9]
00000764 4E5E unlink A6
00000766 4E75 rts
00000768 544F addq.w A7, 2
0000076A 4D45 chk.w D6, D5
0000076C 4D4F chk.w D6, A7
0000076E 5259 addq.w [A1]+, 1
fn00000770:
00000770 4E56 0000 link A6, 0
00000774 41ED 0102 lea.l A0, [A5 + 0x102]
00000778 2B48 9FEA move.l [A5 - 0x6016], A0
0000077C 2B6E 0008 9D9E move.l [A5 - 0x6262], [A6 + 0x8]
00000782 102E 0011 move.b D0, [A6 + 0x11]
00000786 4880 ext.w D0
00000788 3F00 move.w -[A7], D0
0000078A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000078E 4EBA 19AC jsr [PC + 0x19AC /* 0000213C */]
00000792 5C8F addq.l A7, 6
00000794 0C40 FFFF cmpi.w D0, 0xFFFF
00000798 6604 bne +0x6 /* 0000079E */
0000079A 70FF moveq.l D0, 0xFFFFFFFF
0000079C 6010 bra +0x12 /* 000007AE */
label0000079E:
0000079E 206D 9D9E movea.l A0, [A5 - 0x6262]
000007A2 4210 clr.b [A0]
000007A4 202D 9D9E move.l D0, [A5 - 0x6262]
000007A8 90AE 0008 sub.l D0, [A6 + 0x8]
000007AC 5280 addq.l D0, 1
label000007AE:
000007AE 4E5E unlink A6
000007B0 4E75 rts
000007B2 5850 addq.w [A0], 4
000007B4 5249 addq.w A1, 1
000007B6 4E54 4620 link A4, -0xFFFFB9E0
export_29:
000007BA 4E56 0000 link A6, 0
000007BE 4267 clr.w -[A7]
000007C0 486E 000C pea.l [A6 + 0xC]
000007C4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000007C8 4EBA FFA6 jsr [PC - 0x5A /* 00000770 */]
000007CC 4FEF 000A lea.l A7, [A7 + 0xA]
000007D0 4E5E unlink A6
000007D2 4E75 rts
000007D4 5350 subq.w [A0], 1
000007D6 5249 addq.w A1, 1
000007D8 4E54 4620 link A4, -0xFFFFB9E0
000007DC 4E56 0000 link A6, 0
000007E0 3F3C 0001 move.w -[A7], 0x1
000007E4 486E 000C pea.l [A6 + 0xC]
000007E8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000007EC 4EBA FF82 jsr [PC - 0x7E /* 00000770 */]
000007F0 4FEF 000A lea.l A7, [A7 + 0xA]
000007F4 4E5E unlink A6
000007F6 4E75 rts
000007F8 5653 addq.w [A3], 3
000007FA 5052 addq.w [A2], 8
000007FC 494E chk.w D4, A6
000007FE 5446 addq.w D6, 2
fn00000800:
00000800 4E56 0000 link A6, 0
00000804 2F0C move.l -[A7], A4
00000806 286E 0008 movea.l A4, [A6 + 0x8]
0000080A 200C move.l D0, A4
0000080C 6714 beq +0x16 /* 00000822 */
0000080E B9ED 9DAA cmpa.l A4, [A5 - 0x6256]
00000812 670A beq +0xC /* 0000081E */
00000814 0CAC 4C53 5744 009C cmpi.l [A4 + 0x9C], 0x4C535744 /* 'LSWD' */
0000081C 6604 bne +0x6 /* 00000822 */
label0000081E:
0000081E 7001 moveq.l D0, 0x01
00000820 6002 bra +0x4 /* 00000824 */
label00000822:
00000822 7000 moveq.l D0, 0x00
label00000824:
00000824 285F movea.l A4, [A7]+
00000826 4E5E unlink A6
00000828 4E75 rts
0000082A 4F55 chk.w D7, [A5]
0000082C 5257 addq.w [A7], 1
0000082E 494E chk.w D4, A6
00000830 444F neg.w A7
fn00000832:
00000832 4E56 0000 link A6, 0
00000836 48E7 0038 movem.l -[A7], A2,A3,A4
0000083A 206E 0008 movea.l A0, [A6 + 0x8]
0000083E 2868 0010 movea.l A4, [A0 + 0x10]
00000842 2F0C move.l -[A7], A4
00000844 4EBA FFBA jsr [PC - 0x46 /* 00000800 */]
00000848 588F addq.l A7, 4
0000084A 4A00 tst.b D0
0000084C 6604 bne +0x6 /* 00000852 */
0000084E 7000 moveq.l D0, 0x00
00000850 6024 bra +0x26 /* 00000876 */
label00000852:
00000852 0C6C 0008 006C cmpi.w [A4 + 0x6C], 0x8
00000858 6D1A blt +0x1C /* 00000874 */
0000085A 266C 0098 movea.l A3, [A4 + 0x98]
0000085E 200B move.l D0, A3
00000860 6712 beq +0x14 /* 00000874 */
00000862 2053 movea.l A0, [A3]
00000864 2450 movea.l A2, [A0]
00000866 200A move.l D0, A2
00000868 670A beq +0xC /* 00000874 */
0000086A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000086E 4E92 jsr [A2]
00000870 588F addq.l A7, 4
00000872 6002 bra +0x4 /* 00000876 */
label00000874:
00000874 7000 moveq.l D0, 0x00
label00000876:
00000876 4CDF 1C00 movem.l A4,A3,A2, [A7]+
0000087A 4E5E unlink A6
0000087C 4E75 rts
0000087E 5749 subq.w A1, 3
00000880 4E44 trap 4
00000882 4F57 chk.w D7, [A7]
00000884 4556 chk.w D2, [A6]
fn00000886:
00000886 2F0C move.l -[A7], A4
00000888 A930 trap InitMenus
0000088A 42A7 clr.l -[A7]
0000088C 3F3C 0001 move.w -[A7], 0x1
00000890 486D 9F44 pea.l [A5 - 0x60BC]
00000894 A931 trap NewMenu
00000896 205F movea.l A0, [A7]+
00000898 2848 movea.l A4, A0
0000089A 2F0C move.l -[A7], A4
0000089C 4879 4452 5652 pea.l [0x44525652]
000008A2 A94D trap AppendResMenu/AddResMenu
000008A4 2F0C move.l -[A7], A4
000008A6 4267 clr.w -[A7]
000008A8 A935 trap InsertMenu
000008AA 42A7 clr.l -[A7]
000008AC 3F3C 0002 move.w -[A7], 0x2
000008B0 486D 9F46 pea.l [A5 - 0x60BA]
000008B4 A931 trap NewMenu
000008B6 205F movea.l A0, [A7]+
000008B8 2848 movea.l A4, A0
000008BA 2F0C move.l -[A7], A4
000008BC 486D 9F4C pea.l [A5 - 0x60B4]
000008C0 A933 trap AppendMenu
000008C2 2F0C move.l -[A7], A4
000008C4 4267 clr.w -[A7]
000008C6 A935 trap InsertMenu
000008C8 42A7 clr.l -[A7]
000008CA 3F3C 0003 move.w -[A7], 0x3
000008CE 486D 9F6A pea.l [A5 - 0x6096]
000008D2 A931 trap NewMenu
000008D4 205F movea.l A0, [A7]+
000008D6 2848 movea.l A4, A0
000008D8 2F0C move.l -[A7], A4
000008DA 486D 9F70 pea.l [A5 - 0x6090]
000008DE A933 trap AppendMenu
000008E0 4EBA 38AC jsr [PC + 0x38AC /* 0000418E */]
000008E4 2F00 move.l -[A7], D0
000008E6 4EBA FA84 jsr [PC - 0x57C /* 0000036C */]
000008EA 588F addq.l A7, 4
000008EC 2F0C move.l -[A7], A4
000008EE 2F00 move.l -[A7], D0
000008F0 A933 trap AppendMenu
000008F2 4EBA 389A jsr [PC + 0x389A /* 0000418E */]
000008F6 2F00 move.l -[A7], D0
000008F8 4EBA FA8E jsr [PC - 0x572 /* 00000388 */]
000008FC 588F addq.l A7, 4
000008FE 2F0C move.l -[A7], A4
00000900 4267 clr.w -[A7]
00000902 A935 trap InsertMenu
00000904 A937 trap DrawMenuBar
00000906 7001 moveq.l D0, 0x01
00000908 1B40 9E3D move.b [A5 - 0x61C3], D0
0000090C 285F movea.l A4, [A7]+
0000090E 4E75 rts
fn00000910:
00000910 4E56 FFBC link A6, -0x0044
00000914 42A7 clr.l -[A7]
00000916 3F3C 0004 move.w -[A7], 0x4
0000091A A9B9 trap GetCursor
0000091C 205F movea.l A0, [A7]+
0000091E 2050 movea.l A0, [A0]
00000920 43EE FFBC lea.l A1, [A6 - 0x44]
00000924 7010 moveq.l D0, 0x10
label00000926:
00000926 22D8 move.l [A1]+, [A0]+
00000928 51C8 FFFC dbf D0, -0x6 /* 00000926 */
0000092C 486E FFBC pea.l [A6 - 0x44]
00000930 A851 trap SetCursor
00000932 422D 9E3C clr.b [A5 - 0x61C4]
00000936 4267 clr.w -[A7]
00000938 4EBA FC22 jsr [PC - 0x3DE /* 0000055C */]
0000093C 548F addq.l A7, 2
0000093E 4E5E unlink A6
00000940 4E75 rts
00000942 444F neg.w A7
00000944 4558 chk.w D2, [A0]+
00000946 4954 chk.w D4, [A4]
00000948 2020 move.l D0, -[A0]
fn0000094A:
0000094A 4E56 FFFE link A6, -0x0002
0000094E 2F0C move.l -[A7], A4
00000950 286E 0008 movea.l A4, [A6 + 0x8]
00000954 0C54 0010 cmpi.w [A4], 0x10
00000958 6600 005A bne +0x5C /* 000009B4 */
0000095C 3D6C 0004 FFFE move.w [A6 - 0x2], [A4 + 0x4]
00000962 302C 0002 move.w D0, [A4 + 0x2]
00000966 4EAD 003A jsr [A5 + 0x3A]
0000096A 0001 0003 ori.b D1, 0x3
0000096E 0046 0006 ori.w D6, 0x6
00000972 0010 0038 ori.b [A0], 0x38 /* '8' */
00000976 7019 moveq.l D0, 0x19
00000978 3880 move.w [A4], D0
0000097A 4267 clr.w -[A7]
0000097C A938 trap HiliteMenu
0000097E 6000 0034 bra +0x36 /* 000009B4 */
00000982 302E FFFE move.w D0, [A6 - 0x2]
00000986 4EAD 003A jsr [A5 + 0x3A]
0000098A 0002 0006 ori.b D2, 0x6
0000098E 0026 000A ori.b -[A6], 0xA /* '\n' */
00000992 000E 0020 ori.b A6, 0x20 /* ' ' */
00000996 001E 000E ori.b [A6]+, 0xE
0000099A 7018 moveq.l D0, 0x18
0000099C 3880 move.w [A4], D0
0000099E 6014 bra +0x16 /* 000009B4 */
000009A0 7017 moveq.l D0, 0x17
000009A2 3880 move.w [A4], D0
000009A4 600E bra +0x10 /* 000009B4 */
000009A6 4EBA FF68 jsr [PC - 0x98 /* 00000910 */]
000009AA 6008 bra +0xA /* 000009B4 */
000009AC 4267 clr.w -[A7]
000009AE A938 trap HiliteMenu
000009B0 701B moveq.l D0, 0x1B
000009B2 3880 move.w [A4], D0
label000009B4:
000009B4 285F movea.l A4, [A7]+
000009B6 4E5E unlink A6
000009B8 4E75 rts
000009BA 444F neg.w A7
000009BC 4D45 chk.w D6, D5
000009BE 4E55 2020 link A5, -0xFFFFDFE0
fn000009C2:
000009C2 48E7 0108 movem.l -[A7], D7,A4
000009C6 4A2D 9E3D tst.b [A5 - 0x61C3]
000009CA 6740 beq +0x42 /* 00000A0C */
000009CC 42A7 clr.l -[A7]
000009CE 3F3C 0003 move.w -[A7], 0x3
000009D2 A949 trap GetMenuHandle
000009D4 205F movea.l A0, [A7]+
000009D6 2848 movea.l A4, A0
000009D8 2008 move.l D0, A0
000009DA 6730 beq +0x32 /* 00000A0C */
000009DC 4267 clr.w -[A7]
000009DE 2F0C move.l -[A7], A4
000009E0 A950 trap CountMItems
000009E2 301F move.w D0, [A7]+
000009E4 3E00 move.w D7, D0
000009E6 6008 bra +0xA /* 000009F0 */
label000009E8:
000009E8 2F0C move.l -[A7], A4
000009EA 3F07 move.w -[A7], D7
000009EC A939 trap EnableItem
000009EE 5347 subq.w D7, 1
label000009F0:
000009F0 4A47 tst.w D7
000009F2 66F4 bne -0xA /* 000009E8 */
000009F4 2F0C move.l -[A7], A4
000009F6 3F3C 0002 move.w -[A7], 0x2
000009FA A93A trap DisableItem
000009FC 2F0C move.l -[A7], A4
000009FE 3F3C 0007 move.w -[A7], 0x7
00000A02 A93A trap DisableItem
00000A04 2F0C move.l -[A7], A4
00000A06 3F3C 0008 move.w -[A7], 0x8
00000A0A A93A trap DisableItem
label00000A0C:
00000A0C 4CDF 1080 movem.l A4,D7, [A7]+
00000A10 4E75 rts
fn00000A12:
00000A12 48E7 0108 movem.l -[A7], D7,A4
00000A16 4A2D 9E3D tst.b [A5 - 0x61C3]
00000A1A 6730 beq +0x32 /* 00000A4C */
00000A1C 42A7 clr.l -[A7]
00000A1E 3F3C 0003 move.w -[A7], 0x3
00000A22 A949 trap GetMenuHandle
00000A24 205F movea.l A0, [A7]+
00000A26 2848 movea.l A4, A0
00000A28 2008 move.l D0, A0
00000A2A 6720 beq +0x22 /* 00000A4C */
00000A2C 4267 clr.w -[A7]
00000A2E 2F0C move.l -[A7], A4
00000A30 A950 trap CountMItems
00000A32 301F move.w D0, [A7]+
00000A34 3E00 move.w D7, D0
00000A36 6008 bra +0xA /* 00000A40 */
label00000A38:
00000A38 2F0C move.l -[A7], A4
00000A3A 3F07 move.w -[A7], D7
00000A3C A93A trap DisableItem
00000A3E 5347 subq.w D7, 1
label00000A40:
00000A40 4A47 tst.w D7
00000A42 66F4 bne -0xA /* 00000A38 */
00000A44 2F0C move.l -[A7], A4
00000A46 3F3C 0008 move.w -[A7], 0x8
00000A4A A939 trap EnableItem
label00000A4C:
00000A4C 4CDF 1080 movem.l A4,D7, [A7]+
00000A50 4E75 rts
fn00000A52:
00000A52 4E56 FFD4 link A6, -0x002C
00000A56 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
00000A5A 286E 0008 movea.l A4, [A6 + 0x8]
00000A5E 41EE FFE8 lea.l A0, [A6 - 0x18]
00000A62 2648 movea.l A3, A0
00000A64 4EBA 0D76 jsr [PC + 0xD76 /* 000017DC */]
00000A68 41EE FFE8 lea.l A0, [A6 - 0x18]
00000A6C 43D4 lea.l A1, [A4]
00000A6E 7005 moveq.l D0, 0x05
label00000A70:
00000A70 20D9 move.l [A0]+, [A1]+
00000A72 51C8 FFFC dbf D0, -0x6 /* 00000A70 */
00000A76 41EE FFE8 lea.l A0, [A6 - 0x18]
00000A7A 2848 movea.l A4, A0
00000A7C 42A7 clr.l -[A7]
00000A7E A924 trap FrontWindow
00000A80 205F movea.l A0, [A7]+
00000A82 2748 0010 move.l [A3 + 0x10], A0
00000A86 3014 move.w D0, [A4]
00000A88 4EAD 002A jsr [A5 + 0x2A]
00000A8C 0004 001E ori.b D4, 0x1E
00000A90 0000 0078 ori.b D0, 0x78 /* 'x' */
00000A94 0006 00AC ori.b D6, 0xAC
00000A98 0008 00E0 ori.b A0, 0xE0
00000A9C 0001 0002 ori.b D1, 0x2
00000AA0 2F0C move.l -[A7], A4
00000AA2 4EBA FD8E jsr [PC - 0x272 /* 00000832 */]
00000AA6 588F addq.l A7, 4
00000AA8 6000 0468 bra +0x46A /* 00000F12 */
00000AAC 2F0C move.l -[A7], A4
00000AAE 4EBA FD82 jsr [PC - 0x27E /* 00000832 */]
00000AB2 588F addq.l A7, 4
00000AB4 4A00 tst.b D0
00000AB6 6606 bne +0x8 /* 00000ABE */
00000AB8 7000 moveq.l D0, 0x00
00000ABA 6000 0456 bra +0x458 /* 00000F12 */
label00000ABE:
00000ABE 4267 clr.w -[A7]
00000AC0 2F2C 000A move.l -[A7], [A4 + 0xA]
00000AC4 486B 0010 pea.l [A3 + 0x10]
00000AC8 A92C trap FindWindow
00000ACA 301F move.w D0, [A7]+
00000ACC 4EAD 003A jsr [A5 + 0x3A]
00000AD0 0003 0003 ori.b D3, 0x3
00000AD4 002C 0002 42A7 ori.b [A4 + 0x42A7], 0x2
00000ADA A924 trap FrontWindow
00000ADC 205F movea.l A0, [A7]+
00000ADE B1EB 0010 cmpa.l A0, [A3 + 0x10]
00000AE2 661C bne +0x1E /* 00000B00 */
00000AE4 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000AE8 A873 trap SetPort
00000AEA 486C 000A pea.l [A4 + 0xA]
00000AEE A871 trap GlobalToLocal
00000AF0 7013 moveq.l D0, 0x13
00000AF2 3880 move.w [A4], D0
00000AF4 2F0C move.l -[A7], A4
00000AF6 4EBA FD3A jsr [PC - 0x2C6 /* 00000832 */]
00000AFA 588F addq.l A7, 4
00000AFC 6000 0414 bra +0x416 /* 00000F12 */
label00000B00:
00000B00 486D 9C60 pea.l [A5 - 0x63A0]
00000B04 A851 trap SetCursor
00000B06 6000 0408 bra +0x40A /* 00000F10 */
00000B0A 202C 0002 move.l D0, [A4 + 0x2]
00000B0E 2740 0010 move.l [A3 + 0x10], D0
00000B12 2F00 move.l -[A7], D0
00000B14 4EBA FCEA jsr [PC - 0x316 /* 00000800 */]
00000B18 588F addq.l A7, 4
00000B1A 4A00 tst.b D0
00000B1C 6606 bne +0x8 /* 00000B24 */
00000B1E 7000 moveq.l D0, 0x00
00000B20 6000 03F0 bra +0x3F2 /* 00000F12 */
label00000B24:
00000B24 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000B28 A922 trap BeginUpdate
00000B2A 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000B2E A873 trap SetPort
00000B30 2F0C move.l -[A7], A4
00000B32 4EBA FCFE jsr [PC - 0x302 /* 00000832 */]
00000B36 588F addq.l A7, 4
00000B38 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000B3C A923 trap EndUpdate
00000B3E 6000 03D0 bra +0x3D2 /* 00000F10 */
00000B42 202C 0002 move.l D0, [A4 + 0x2]
00000B46 2740 0010 move.l [A3 + 0x10], D0
00000B4A 2F00 move.l -[A7], D0
00000B4C 4EBA FCB2 jsr [PC - 0x34E /* 00000800 */]
00000B50 588F addq.l A7, 4
00000B52 4A00 tst.b D0
00000B54 6606 bne +0x8 /* 00000B5C */
00000B56 7000 moveq.l D0, 0x00
00000B58 6000 03B8 bra +0x3BA /* 00000F12 */
label00000B5C:
00000B5C 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000B60 A873 trap SetPort
00000B62 082C 0000 000F btst.b [A4 + 0xF], 0x0
00000B68 6604 bne +0x6 /* 00000B6E */
00000B6A 7016 moveq.l D0, 0x16
00000B6C 3880 move.w [A4], D0
label00000B6E:
00000B6E 2F0C move.l -[A7], A4
00000B70 4EBA FCC0 jsr [PC - 0x340 /* 00000832 */]
00000B74 588F addq.l A7, 4
00000B76 6000 0398 bra +0x39A /* 00000F10 */
00000B7A 4267 clr.w -[A7]
00000B7C 2F2C 000A move.l -[A7], [A4 + 0xA]
00000B80 486B 0010 pea.l [A3 + 0x10]
00000B84 A92C trap FindWindow
00000B86 301F move.w D0, [A7]+
00000B88 4EAD 003A jsr [A5 + 0x3A]
00000B8C 0001 0006 ori.b D1, 0x6
00000B90 000E 0012 ori.b A6, 0x12
00000B94 0104 btst D4, D0
00000B96 010E btst A6, D0
00000B98 01B6 0218 bclr [A6 + D0.w * 2 + 0x18], D0
00000B9C 033E btst <<invalid special address>>, D1
00000B9E 7000 moveq.l D0, 0x00
00000BA0 6000 0370 bra +0x372 /* 00000F12 */
00000BA4 4A2D 9E3D tst.b [A5 - 0x61C3]
00000BA8 6606 bne +0x8 /* 00000BB0 */
00000BAA 7000 moveq.l D0, 0x00
00000BAC 6000 0364 bra +0x366 /* 00000F12 */
label00000BB0:
00000BB0 42A7 clr.l -[A7]
00000BB2 A924 trap FrontWindow
00000BB4 205F movea.l A0, [A7]+
00000BB6 2748 0010 move.l [A3 + 0x10], A0
00000BBA 486D 9C60 pea.l [A5 - 0x63A0]
00000BBE A851 trap SetCursor
00000BC0 2F0C move.l -[A7], A4
00000BC2 4EBA FD86 jsr [PC - 0x27A /* 0000094A */]
00000BC6 588F addq.l A7, 4
00000BC8 42A7 clr.l -[A7]
00000BCA 2F2C 000A move.l -[A7], [A4 + 0xA]
00000BCE A93D trap MenuSelect
00000BD0 201F move.l D0, [A7]+
00000BD2 2940 0002 move.l [A4 + 0x2], D0
00000BD6 4A6C 0002 tst.w [A4 + 0x2]
00000BDA 6700 0334 beq +0x336 /* 00000F10 */
00000BDE 7010 moveq.l D0, 0x10
00000BE0 3880 move.w [A4], D0
00000BE2 2F0C move.l -[A7], A4
00000BE4 4EBA FD64 jsr [PC - 0x29C /* 0000094A */]
00000BE8 588F addq.l A7, 4
00000BEA 3014 move.w D0, [A4]
00000BEC 4EAD 003A jsr [A5 + 0x3A]
00000BF0 0017 001B ori.b [A7], 0x1B
00000BF4 031C btst [A4]+, D1
00000BF6 002A 0050 0076 ori.b [A2 + 0x76], 0x50 /* 'P' */
00000BFC 0314 btst [A4], D1
00000BFE 0002 4267 ori.b D2, 0x67 /* 'g' */
00000C02 302C 0004 move.w D0, [A4 + 0x4]
00000C06 5340 subq.w D0, 1
00000C08 3F00 move.w -[A7], D0
00000C0A A9C2 trap SysEdit
00000C0C 101F move.b D0, [A7]+
00000C0E 4A00 tst.b D0
00000C10 6600 02FE bne +0x300 /* 00000F10 */
00000C14 2F0C move.l -[A7], A4
00000C16 4EBA FC1A jsr [PC - 0x3E6 /* 00000832 */]
00000C1A 588F addq.l A7, 4
00000C1C 6000 02F2 bra +0x2F4 /* 00000F10 */
00000C20 4AAB 0010 tst.l [A3 + 0x10]
00000C24 6700 02EA beq +0x2EC /* 00000F10 */
00000C28 206B 0010 movea.l A0, [A3 + 0x10]
00000C2C 3C28 006C move.w D6, [A0 + 0x6C]
00000C30 4A46 tst.w D6
00000C32 6C08 bge +0xA /* 00000C3C */
00000C34 3F06 move.w -[A7], D6
00000C36 A9B7 trap CloseDeskAcc
00000C38 6000 02D6 bra +0x2D8 /* 00000F10 */
label00000C3C:
00000C3C 2F0C move.l -[A7], A4
00000C3E 4EBA FBF2 jsr [PC - 0x40E /* 00000832 */]
00000C42 588F addq.l A7, 4
00000C44 6000 02CA bra +0x2CC /* 00000F10 */
00000C48 4AAD A25E tst.l [A5 - 0x5DA2]
00000C4C 6700 02C2 beq +0x2C4 /* 00000F10 */
00000C50 206D A25E movea.l A0, [A5 - 0x5DA2]
00000C54 4A28 006E tst.b [A0 + 0x6E]
00000C58 6600 02B6 bne +0x2B8 /* 00000F10 */
00000C5C 2F2D A25E move.l -[A7], [A5 - 0x5DA2]
00000C60 A915 trap ShowWindow
00000C62 2F2D A25E move.l -[A7], [A5 - 0x5DA2]
00000C66 4EBA 0386 jsr [PC + 0x386 /* 00000FEE */]
00000C6A 588F addq.l A7, 4
00000C6C 6000 02A2 bra +0x2A4 /* 00000F10 */
00000C70 42A7 clr.l -[A7]
00000C72 3F2C 0002 move.w -[A7], [A4 + 0x2]
00000C76 A949 trap GetMenuHandle
00000C78 205F movea.l A0, [A7]+
00000C7A 4850 pea.l [A0]
00000C7C 3F2C 0004 move.w -[A7], [A4 + 0x4]
00000C80 486D 9E41 pea.l [A5 - 0x61BF]
00000C84 A946 trap GetMenuItemText/GetItem
00000C86 4267 clr.w -[A7]
00000C88 486D 9E41 pea.l [A5 - 0x61BF]
00000C8C A9B6 trap OpenDeskAcc
00000C8E 301F move.w D0, [A7]+
00000C90 4EBA FD30 jsr [PC - 0x2D0 /* 000009C2 */]
00000C94 6000 027A bra +0x27C /* 00000F10 */
00000C98 2F0C move.l -[A7], A4
00000C9A 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000C9E A9B3 trap SystemClick
00000CA0 6000 026E bra +0x270 /* 00000F10 */
00000CA4 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000CA8 4EBA FB56 jsr [PC - 0x4AA /* 00000800 */]
00000CAC 588F addq.l A7, 4
00000CAE 4A00 tst.b D0
00000CB0 6606 bne +0x8 /* 00000CB8 */
00000CB2 7000 moveq.l D0, 0x00
00000CB4 6000 025C bra +0x25E /* 00000F12 */
label00000CB8:
00000CB8 42A7 clr.l -[A7]
00000CBA A924 trap FrontWindow
00000CBC 205F movea.l A0, [A7]+
00000CBE B1EB 0010 cmpa.l A0, [A3 + 0x10]
00000CC2 671C beq +0x1E /* 00000CE0 */
00000CC4 7014 moveq.l D0, 0x14
00000CC6 3880 move.w [A4], D0
00000CC8 2F0C move.l -[A7], A4
00000CCA 4EBA FB66 jsr [PC - 0x49A /* 00000832 */]
00000CCE 588F addq.l A7, 4
00000CD0 0C54 0001 cmpi.w [A4], 0x1
00000CD4 670A beq +0xC /* 00000CE0 */
00000CD6 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000CDA A91F trap SelectWindow
00000CDC 6000 0232 bra +0x234 /* 00000F10 */
label00000CE0:
00000CE0 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000CE4 A873 trap SetPort
00000CE6 486C 000A pea.l [A4 + 0xA]
00000CEA A871 trap GlobalToLocal
00000CEC 4267 clr.w -[A7]
00000CEE 2F2C 000A move.l -[A7], [A4 + 0xA]
00000CF2 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000CF6 486B 0014 pea.l [A3 + 0x14]
00000CFA A96C trap FindControl
00000CFC 301F move.w D0, [A7]+
00000CFE 48C0 ext.l D0
00000D00 2940 0002 move.l [A4 + 0x2], D0
00000D04 4A80 tst.l D0
00000D06 6730 beq +0x32 /* 00000D38 */
00000D08 0CAC 0000 0080 0002 cmpi.l [A4 + 0x2], 0x80
00000D10 6E04 bgt +0x6 /* 00000D16 */
00000D12 70FF moveq.l D0, 0xFFFFFFFF
00000D14 6002 bra +0x4 /* 00000D18 */
label00000D16:
00000D16 7000 moveq.l D0, 0x00
label00000D18:
00000D18 2D40 FFD8 move.l [A6 - 0x28], D0
00000D1C 4267 clr.w -[A7]
00000D1E 2F2B 0014 move.l -[A7], [A3 + 0x14]
00000D22 2F2C 000A move.l -[A7], [A4 + 0xA]
00000D26 2F2E FFD8 move.l -[A7], [A6 - 0x28]
00000D2A A968 trap TrackControl
00000D2C 301F move.w D0, [A7]+
00000D2E 4A40 tst.w D0
00000D30 6700 01DE beq +0x1E0 /* 00000F10 */
00000D34 7015 moveq.l D0, 0x15
00000D36 3880 move.w [A4], D0
label00000D38:
00000D38 2F0C move.l -[A7], A4
00000D3A 4EBA FAF6 jsr [PC - 0x50A /* 00000832 */]
00000D3E 588F addq.l A7, 4
00000D40 0C54 0012 cmpi.w [A4], 0x12
00000D44 6600 01CA bne +0x1CC /* 00000F10 */
00000D48 486C 000A pea.l [A4 + 0xA]
00000D4C A870 trap LocalToGlobal
00000D4E 082C 0000 000E btst.b [A4 + 0xE], 0x0
00000D54 6616 bne +0x18 /* 00000D6C */
00000D56 42A7 clr.l -[A7]
00000D58 A924 trap FrontWindow
00000D5A 205F movea.l A0, [A7]+
00000D5C B1EB 0010 cmpa.l A0, [A3 + 0x10]
00000D60 670A beq +0xC /* 00000D6C */
00000D62 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000D66 A91F trap SelectWindow
00000D68 6000 01A6 bra +0x1A8 /* 00000F10 */
label00000D6C:
00000D6C 0C78 FFFF 028E cmpi.w [0x0000028E /* ROM85 */], 0xFFFF
00000D72 6706 beq +0x8 /* 00000D7A */
00000D74 3038 0BAA move.w D0, [0x00000BAA /* MBarHeight */]
00000D78 6002 bra +0x4 /* 00000D7C */
label00000D7A:
00000D7A 7014 moveq.l D0, 0x14
label00000D7C:
00000D7C 486E FFE0 pea.l [A6 - 0x20]
00000D80 3F3C 0004 move.w -[A7], 0x4
00000D84 5840 addq.w D0, 4
00000D86 3F00 move.w -[A7], D0
00000D88 302D 9C5E move.w D0, [A5 - 0x63A2]
00000D8C 5940 subq.w D0, 4
00000D8E 3F00 move.w -[A7], D0
00000D90 302D 9C5C move.w D0, [A5 - 0x63A4]
00000D94 5940 subq.w D0, 4
00000D96 3F00 move.w -[A7], D0
00000D98 A8A7 trap SetRect
00000D9A 486D 9C60 pea.l [A5 - 0x63A0]
00000D9E A851 trap SetCursor
00000DA0 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000DA4 2F2C 000A move.l -[A7], [A4 + 0xA]
00000DA8 486E FFE0 pea.l [A6 - 0x20]
00000DAC A925 trap DragWindow
00000DAE 6000 0160 bra +0x162 /* 00000F10 */
00000DB2 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000DB6 4EBA FA48 jsr [PC - 0x5B8 /* 00000800 */]
00000DBA 588F addq.l A7, 4
00000DBC 4A00 tst.b D0
00000DBE 6606 bne +0x8 /* 00000DC6 */
00000DC0 7000 moveq.l D0, 0x00
00000DC2 6000 014E bra +0x150 /* 00000F12 */
label00000DC6:
00000DC6 246B 0010 movea.l A2, [A3 + 0x10]
00000DCA 302A 00BA move.w D0, [A2 + 0xBA]
00000DCE C1EA 00A2 muls.w D0, [A2 + 0xA2]
00000DD2 322A 00B8 move.w D1, [A2 + 0xB8]
00000DD6 C3EA 00A0 muls.w D1, [A2 + 0xA0]
00000DDA 486E FFE0 pea.l [A6 - 0x20]
00000DDE 342A 00BA move.w D2, [A2 + 0xBA]
00000DE2 0642 0016 addi.w D2, 0x16
00000DE6 3F02 move.w -[A7], D2
00000DE8 342A 00B8 move.w D2, [A2 + 0xB8]
00000DEC 0642 001B addi.w D2, 0x1B
00000DF0 3F02 move.w -[A7], D2
00000DF2 0640 0016 addi.w D0, 0x16
00000DF6 3F00 move.w -[A7], D0
00000DF8 0641 001B addi.w D1, 0x1B
00000DFC 3F01 move.w -[A7], D1
00000DFE A8A7 trap SetRect
00000E00 486D 9C60 pea.l [A5 - 0x63A0]
00000E04 A851 trap SetCursor
00000E06 42A7 clr.l -[A7]
00000E08 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000E0C 2F2C 000A move.l -[A7], [A4 + 0xA]
00000E10 486E FFE0 pea.l [A6 - 0x20]
00000E14 A92B trap GrowWindow
00000E16 201F move.l D0, [A7]+
00000E18 2D40 FFDC move.l [A6 - 0x24], D0
00000E1C 4A80 tst.l D0
00000E1E 6700 00F0 beq +0xF2 /* 00000F10 */
00000E22 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000E26 3F2E FFDE move.w -[A7], [A6 - 0x22]
00000E2A 3F2E FFDC move.w -[A7], [A6 - 0x24]
00000E2E 4267 clr.w -[A7]
00000E30 A91D trap SizeWindow
00000E32 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000E36 A873 trap SetPort
00000E38 206B 0010 movea.l A0, [A3 + 0x10]
00000E3C 4868 0010 pea.l [A0 + 0x10]
00000E40 A928 trap InvalRect
00000E42 7011 moveq.l D0, 0x11
00000E44 3880 move.w [A4], D0
00000E46 2F0C move.l -[A7], A4
00000E48 4EBA F9E8 jsr [PC - 0x618 /* 00000832 */]
00000E4C 588F addq.l A7, 4
00000E4E 2D6B 0010 FFD4 move.l [A6 - 0x2C], [A3 + 0x10]
00000E54 206E FFD4 movea.l A0, [A6 - 0x2C]
00000E58 302E FFDE move.w D0, [A6 - 0x22]
00000E5C 9068 00BA sub.w D0, [A0 + 0xBA]
00000E60 206E FFD4 movea.l A0, [A6 - 0x2C]
00000E64 0640 FFF1 addi.w D0, 0xFFF1
00000E68 48C0 ext.l D0
00000E6A 81E8 00BA divs.w D0, [A0 + 0xBA]
00000E6E 206E FFD4 movea.l A0, [A6 - 0x2C]
00000E72 3140 00B0 move.w [A0 + 0xB0], D0
00000E76 206E FFD4 movea.l A0, [A6 - 0x2C]
00000E7A 302E FFDC move.w D0, [A6 - 0x24]
00000E7E 9068 00B8 sub.w D0, [A0 + 0xB8]
00000E82 206E FFD4 movea.l A0, [A6 - 0x2C]
00000E86 0640 FFF1 addi.w D0, 0xFFF1
00000E8A 48C0 ext.l D0
00000E8C 81E8 00B8 divs.w D0, [A0 + 0xB8]
00000E90 206E FFD4 movea.l A0, [A6 - 0x2C]
00000E94 3140 00AE move.w [A0 + 0xAE], D0
00000E98 206E FFD4 movea.l A0, [A6 - 0x2C]
00000E9C 226E FFD4 movea.l A1, [A6 - 0x2C]
00000EA0 3029 00B0 move.w D0, [A1 + 0xB0]
00000EA4 B068 00A2 cmp.w D0, [A0 + 0xA2]
00000EA8 6F0E ble +0x10 /* 00000EB8 */
00000EAA 206E FFD4 movea.l A0, [A6 - 0x2C]
00000EAE 226E FFD4 movea.l A1, [A6 - 0x2C]
00000EB2 3368 00A2 00B0 move.w [A1 + 0xB0], [A0 + 0xA2]
label00000EB8:
00000EB8 206E FFD4 movea.l A0, [A6 - 0x2C]
00000EBC 226E FFD4 movea.l A1, [A6 - 0x2C]
00000EC0 3029 00AE move.w D0, [A1 + 0xAE]
00000EC4 B068 00A0 cmp.w D0, [A0 + 0xA0]
00000EC8 6F46 ble +0x48 /* 00000F10 */
00000ECA 206E FFD4 movea.l A0, [A6 - 0x2C]
00000ECE 226E FFD4 movea.l A1, [A6 - 0x2C]
00000ED2 3368 00A0 00AE move.w [A1 + 0xAE], [A0 + 0xA0]
00000ED8 6036 bra +0x38 /* 00000F10 */
00000EDA 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000EDE 4EBA F920 jsr [PC - 0x6E0 /* 00000800 */]
00000EE2 588F addq.l A7, 4
00000EE4 4A00 tst.b D0
00000EE6 6604 bne +0x6 /* 00000EEC */
00000EE8 7000 moveq.l D0, 0x00
00000EEA 6026 bra +0x28 /* 00000F12 */
label00000EEC:
00000EEC 486D 9C60 pea.l [A5 - 0x63A0]
00000EF0 A851 trap SetCursor
00000EF2 4267 clr.w -[A7]
00000EF4 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000EF8 2F2C 000A move.l -[A7], [A4 + 0xA]
00000EFC A91E trap TrackGoAway
00000EFE 101F move.b D0, [A7]+
00000F00 4A00 tst.b D0
00000F02 670C beq +0xE /* 00000F10 */
00000F04 7017 moveq.l D0, 0x17
00000F06 3880 move.w [A4], D0
00000F08 2F0C move.l -[A7], A4
00000F0A 4EBA F926 jsr [PC - 0x6DA /* 00000832 */]
00000F0E 588F addq.l A7, 4
label00000F10:
00000F10 7001 moveq.l D0, 0x01
label00000F12:
00000F12 4CDF 1CC0 movem.l A4,A3,A2,D7,D6, [A7]+
00000F16 4E5E unlink A6
00000F18 4E75 rts
00000F1A 5354 subq.w [A4], 1
00000F1C 4445 neg.w D5
00000F1E 5645 addq.w D5, 3
00000F20 4E54 4E56 link A4, -0xFFFFB1AA
// begin alternate branch 00000F22-00000F2C
fn00000F22:
00000F22 4E56 0000 link A6, 0
00000F26 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000F2A A873 trap SetPort
// end alternate branch 00000F22-00000F2C
fn00000F22: // (misaligned)
00000F24 0000 2F2E ori.b D0, 0x2E /* '.' */
00000F28 0008 A873 ori.b A0, 0x73 /* 's' */
00000F2C 3F2D 9E26 move.w -[A7], [A5 - 0x61DA]
00000F30 A887 trap TextFont
00000F32 3F2D 9E28 move.w -[A7], [A5 - 0x61D8]
00000F36 A88A trap TextSize
00000F38 3F2D 9E2A move.w -[A7], [A5 - 0x61D6]
00000F3C A888 trap TextFace
00000F3E 3F2D 9E2C move.w -[A7], [A5 - 0x61D4]
00000F42 A889 trap TextMode
00000F44 4E5E unlink A6
00000F46 4E75 rts
00000F48 5354 subq.w [A4], 1
00000F4A 4449 neg.w A1
00000F4C 4F46 chk.w D7, D6
00000F4E 4F4E chk.w D7, A6
fn00000F50:
00000F50 4E56 0000 link A6, 0
00000F54 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
00000F58 286E 0008 movea.l A4, [A6 + 0x8]
00000F5C 4A2C 00A4 tst.b [A4 + 0xA4]
00000F60 6700 007C beq +0x7E /* 00000FDE */
00000F64 780C moveq.l D4, 0x0C
00000F66 0C2E 0001 000D cmpi.b [A6 + 0xD], 0x1
00000F6C 6602 bne +0x4 /* 00000F70 */
00000F6E 7808 moveq.l D4, 0x08
label00000F70:
00000F70 536C 0032 subq.w [A4 + 0x32], 1
00000F74 3E2C 0032 move.w D7, [A4 + 0x32]
00000F78 3A2C 0030 move.w D5, [A4 + 0x30]
00000F7C 302C 00BE move.w D0, [A4 + 0xBE]
00000F80 D16C 0030 add.w [A4 + 0x30], D0
00000F84 3C2C 0030 move.w D6, [A4 + 0x30]
00000F88 3944 0038 move.w [A4 + 0x38], D4
00000F8C 3006 move.w D0, D6
00000F8E 906C 00B8 sub.w D0, [A4 + 0xB8]
00000F92 3F07 move.w -[A7], D7
00000F94 3F00 move.w -[A7], D0
00000F96 A891 trap LineTo
00000F98 3007 move.w D0, D7
00000F9A 5240 addq.w D0, 1
00000F9C 3940 0032 move.w [A4 + 0x32], D0
00000FA0 3945 0030 move.w [A4 + 0x30], D5
00000FA4 4A2E 000D tst.b [A6 + 0xD]
00000FA8 6634 bne +0x36 /* 00000FDE */
00000FAA 302C 00B6 move.w D0, [A4 + 0xB6]
00000FAE D06C 00B2 add.w D0, [A4 + 0xB2]
00000FB2 48C0 ext.l D0
00000FB4 81EC 00A0 divs.w D0, [A4 + 0xA0]
00000FB8 4840 swap.w D0
00000FBA C1EC 00A2 muls.w D0, [A4 + 0xA2]
00000FBE D06C 00B4 add.w D0, [A4 + 0xB4]
00000FC2 48C0 ext.l D0
00000FC4 D08C add.l D0, A4
00000FC6 2040 movea.l A0, D0
00000FC8 1028 00C4 move.b D0, [A0 + 0xC4]
00000FCC 4880 ext.w D0
00000FCE 3F00 move.w -[A7], D0
00000FD0 A883 trap DrawChar
00000FD2 3007 move.w D0, D7
00000FD4 5240 addq.w D0, 1
00000FD6 3940 0032 move.w [A4 + 0x32], D0
00000FDA 3945 0030 move.w [A4 + 0x30], D5
label00000FDE:
00000FDE 4CDF 10F0 movem.l A4,D7,D6,D5,D4, [A7]+
00000FE2 4E5E unlink A6
00000FE4 4E75 rts
00000FE6 4452 neg.w [A2]
00000FE8 4157 chk.w D0, [A7]
00000FEA 4355 chk.w D1, [A5]
00000FEC 5253 addq.w [A3], 1
fn00000FEE:
00000FEE 4E56 FFF8 link A6, -0x0008
00000FF2 48E7 0308 movem.l -[A7], D6,D7,A4
00000FF6 286E 0008 movea.l A4, [A6 + 0x8]
00000FFA 2F0C move.l -[A7], A4
00000FFC A873 trap SetPort
00000FFE 486C 0010 pea.l [A4 + 0x10]
00001002 A8A3 trap EraseRect
00001004 7E00 moveq.l D7, 0x00
00001006 302C 00A0 move.w D0, [A4 + 0xA0]
0000100A 906C 00AE sub.w D0, [A4 + 0xAE]
0000100E D06C 00B6 add.w D0, [A4 + 0xB6]
00001012 48C0 ext.l D0
00001014 81EC 00A0 divs.w D0, [A4 + 0xA0]
00001018 4840 swap.w D0
0000101A 3C00 move.w D6, D0
0000101C 6052 bra +0x54 /* 00001070 */
label0000101E:
0000101E 302C 00BA move.w D0, [A4 + 0xBA]
00001022 3007 move.w D0, D7
00001024 D06C 00A0 add.w D0, [A4 + 0xA0]
00001028 906C 00AE sub.w D0, [A4 + 0xAE]
0000102C D06C 00AE add.w D0, [A4 + 0xAE]
00001030 906C 00A0 sub.w D0, [A4 + 0xA0]
00001034 C1EC 00B8 muls.w D0, [A4 + 0xB8]
00001038 D06C 00BC add.w D0, [A4 + 0xBC]
0000103C 3F3C 0004 move.w -[A7], 0x4
00001040 5840 addq.w D0, 4
00001042 3F00 move.w -[A7], D0
00001044 A893 trap MoveTo
00001046 302C 00A2 move.w D0, [A4 + 0xA2]
0000104A C1C6 muls.w D0, D6
0000104C 48C0 ext.l D0
0000104E D08C add.l D0, A4
00001050 0680 0000 00C4 addi.l D0, 0xC4
00001056 2F00 move.l -[A7], D0
00001058 4267 clr.w -[A7]
0000105A 3F2C 00B0 move.w -[A7], [A4 + 0xB0]
0000105E A885 trap DrawText
00001060 5247 addq.w D7, 1
00001062 5246 addq.w D6, 1
00001064 3046 movea.w A0, D6
00001066 2008 move.l D0, A0
00001068 81EC 00A0 divs.w D0, [A4 + 0xA0]
0000106C 4840 swap.w D0
0000106E 3C00 move.w D6, D0
label00001070:
00001070 BE6C 00AE cmp.w D7, [A4 + 0xAE]
00001074 6DA8 blt -0x56 /* 0000101E */
00001076 4A2C 00A8 tst.b [A4 + 0xA8]
0000107A 6632 bne +0x34 /* 000010AE */
0000107C 41EE FFF8 lea.l A0, [A6 - 0x8]
00001080 43EC 0010 lea.l A1, [A4 + 0x10]
00001084 20D9 move.l [A0]+, [A1]+
00001086 20D9 move.l [A0]+, [A1]+
00001088 302E FFFE move.w D0, [A6 - 0x2]
0000108C 0640 FFEF addi.w D0, 0xFFEF
00001090 3D40 FFFA move.w [A6 - 0x6], D0
00001094 302E FFFC move.w D0, [A6 - 0x4]
00001098 0640 FFEF addi.w D0, 0xFFEF
0000109C 3D40 FFF8 move.w [A6 - 0x8], D0
000010A0 486E FFF8 pea.l [A6 - 0x8]
000010A4 A928 trap InvalRect
000010A6 2F0C move.l -[A7], A4
000010A8 A969 trap DrawControls
000010AA 2F0C move.l -[A7], A4
000010AC A904 trap DrawGrowIcon
label000010AE:
000010AE 486C 0010 pea.l [A4 + 0x10]
000010B2 A92A trap ValidRect
000010B4 302C 00B4 move.w D0, [A4 + 0xB4]
000010B8 C1EC 00BA muls.w D0, [A4 + 0xBA]
000010BC 322C 00B2 move.w D1, [A4 + 0xB2]
000010C0 D26C 00AE add.w D1, [A4 + 0xAE]
000010C4 926C 00A0 sub.w D1, [A4 + 0xA0]
000010C8 C3EC 00B8 muls.w D1, [A4 + 0xB8]
000010CC D26C 00BC add.w D1, [A4 + 0xBC]
000010D0 5840 addq.w D0, 4
000010D2 3F00 move.w -[A7], D0
000010D4 5841 addq.w D1, 4
000010D6 3F01 move.w -[A7], D1
000010D8 A893 trap MoveTo
000010DA 3F3C 0001 move.w -[A7], 0x1
000010DE 2F0C move.l -[A7], A4
000010E0 4EBA FE6E jsr [PC - 0x192 /* 00000F50 */]
000010E4 5C8F addq.l A7, 6
000010E6 4CDF 10C0 movem.l A4,D7,D6, [A7]+
000010EA 4E5E unlink A6
000010EC 4E75 rts
000010EE 5354 subq.w [A4], 1
000010F0 4455 neg.w [A5]
000010F2 5044 addq.w D4, 8
000010F4 4154 chk.w D0, [A4]
export_30:
000010F6 4E56 FFFC link A6, -0x0004
000010FA 48E7 0108 movem.l -[A7], D7,A4
000010FE 206E 0008 movea.l A0, [A6 + 0x8]
00001102 2868 0010 movea.l A4, [A0 + 0x10]
00001106 206E 0008 movea.l A0, [A6 + 0x8]
0000110A 3010 move.w D0, [A0]
0000110C 4EAD 002A jsr [A5 + 0x2A]
00001110 0004 0012 ori.b D4, 0x12
00001114 0008 0014 ori.b A0, 0x14
00001118 0016 0036 ori.b [A6], 0x36 /* '6' */
0000111C 0006 003C ori.b D6, 0x3C /* '<' */
00001120 0017 003E ori.b [A7], 0x3E /* '>' */
00001124 4EBA F8EC jsr [PC - 0x714 /* 00000A12 */]
00001128 603A bra +0x3C /* 00001164 */
0000112A 4EBA F8E6 jsr [PC - 0x71A /* 00000A12 */]
0000112E 42A7 clr.l -[A7]
00001130 A924 trap FrontWindow
00001132 205F movea.l A0, [A7]+
00001134 2D48 FFFC move.l [A6 - 0x4], A0
00001138 2008 move.l D0, A0
0000113A 6728 beq +0x2A /* 00001164 */
0000113C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001140 4EBA F6BE jsr [PC - 0x942 /* 00000800 */]
00001144 588F addq.l A7, 4
00001146 4A00 tst.b D0
00001148 661A bne +0x1C /* 00001164 */
0000114A 4EBA F876 jsr [PC - 0x78A /* 000009C2 */]
0000114E 6014 bra +0x16 /* 00001164 */
00001150 2F0C move.l -[A7], A4
00001152 4EBA FE9A jsr [PC - 0x166 /* 00000FEE */]
00001156 588F addq.l A7, 4
00001158 600A bra +0xC /* 00001164 */
0000115A 2F0C move.l -[A7], A4
0000115C A916 trap HideWindow
0000115E 6004 bra +0x6 /* 00001164 */
00001160 7000 moveq.l D0, 0x00
00001162 6002 bra +0x4 /* 00001166 */
label00001164:
00001164 7001 moveq.l D0, 0x01
label00001166:
00001166 4CDF 1080 movem.l A4,D7, [A7]+
0000116A 4E5E unlink A6
0000116C 4E75 rts
0000116E 5354 subq.w [A4], 1
00001170 4457 neg.w [A7]
00001172 494E chk.w D4, A6
00001174 444F neg.w A7
fn00001176:
00001176 4E56 0000 link A6, 0
0000117A 2F0C move.l -[A7], A4
0000117C 286E 0008 movea.l A4, [A6 + 0x8]
00001180 082C 0007 0007 btst.b [A4 + 0x7], 0x7
00001186 6606 bne +0x8 /* 0000118E */
00001188 70FF moveq.l D0, 0xFFFFFFFF
0000118A 6000 0062 bra +0x64 /* 000011EE */
label0000118E:
0000118E 41ED A254 lea.l A0, [A5 - 0x5DAC]
00001192 B9C8 cmpa.l A4, A0
00001194 6756 beq +0x58 /* 000011EC */
00001196 08AC 0007 0007 bclr.b [A4 + 0x7], 0x7
0000119C 08AC 0006 0006 bclr.b [A4 + 0x6], 0x6
000011A2 2F2C 000A move.l -[A7], [A4 + 0xA]
000011A6 4EBA F658 jsr [PC - 0x9A8 /* 00000800 */]
000011AA 588F addq.l A7, 4
000011AC 4A00 tst.b D0
000011AE 6724 beq +0x26 /* 000011D4 */
000011B0 202C 000A move.l D0, [A4 + 0xA]
000011B4 B0AD 9DAE cmp.l D0, [A5 - 0x6252]
000011B8 671A beq +0x1C /* 000011D4 */
000011BA 206C 000A movea.l A0, [A4 + 0xA]
000011BE 42A8 009C clr.l [A0 + 0x9C]
000011C2 206C 000A movea.l A0, [A4 + 0xA]
000011C6 2F28 0098 move.l -[A7], [A0 + 0x98]
000011CA 4EBA EF0E jsr [PC - 0x10F2 /* 000000DA */]
000011CE 2F2C 000A move.l -[A7], [A4 + 0xA]
000011D2 A914 trap DisposeWindow
label000011D4:
000011D4 42AC 000A clr.l [A4 + 0xA]
000011D8 B9ED 9DA6 cmpa.l A4, [A5 - 0x625A]
000011DC 660E bne +0x10 /* 000011EC */
000011DE 41ED A254 lea.l A0, [A5 - 0x5DAC]
000011E2 2B48 9DA6 move.l [A5 - 0x625A], A0
000011E6 2B6D 9DAE 9DA2 move.l [A5 - 0x625E], [A5 - 0x6252]
label000011EC:
000011EC 7000 moveq.l D0, 0x00
label000011EE:
000011EE 285F movea.l A4, [A7]+
000011F0 4E5E unlink A6
000011F2 4E75 rts
000011F4 4643 not.w D3
000011F6 4C4F 5345 movem.l A6,A4,A1,A0,D6,D2,D0, A7
000011FA 5720 subq.b -[A0], 3
fn000011FC:
000011FC 4E56 0000 link A6, 0
00001200 48E7 0138 movem.l -[A7], D7,A2,A3,A4
00001204 286E 0008 movea.l A4, [A6 + 0x8]
00001208 7E20 moveq.l D7, 0x20
0000120A 41EC 00C4 lea.l A0, [A4 + 0xC4]
0000120E 2648 movea.l A3, A0
00001210 302C 00A2 move.w D0, [A4 + 0xA2]
00001214 C1EC 00A0 muls.w D0, [A4 + 0xA0]
00001218 D0C0 add.w A0, D0
0000121A 2448 movea.l A2, A0
0000121C 6002 bra +0x4 /* 00001220 */
label0000121E:
0000121E 1487 move.b [A2], D7
label00001220:
00001220 538A subq.l A2, 1
00001222 B5CB cmpa.l A2, A3
00001224 64F8 bcc -0x6 /* 0000121E */
00001226 4CDF 1C80 movem.l A4,A3,A2,D7, [A7]+
0000122A 4E5E unlink A6
0000122C 4E75 rts
0000122E 434C chk.w D1, A4
00001230 4541 chk.w D2, D1
00001232 5253 addq.w [A3], 1
00001234 4352 chk.w D1, [A2]
fn00001236:
00001236 4E56 FFFC link A6, -0x0004
0000123A 42A7 clr.l -[A7]
0000123C 3F3C 008F move.w -[A7], 0x8F
00001240 4EBA EEC0 jsr [PC - 0x1140 /* 00000102 */]
00001244 201F move.l D0, [A7]+
00001246 42A7 clr.l -[A7]
00001248 3F3C 009F move.w -[A7], 0x9F
0000124C 2D40 FFFC move.l [A6 - 0x4], D0
00001250 4EBA EEB0 jsr [PC - 0x1150 /* 00000102 */]
00001254 201F move.l D0, [A7]+
00001256 B0AE FFFC cmp.l D0, [A6 - 0x4]
0000125A 56C0 sne D0
0000125C 4400 neg.b D0
0000125E 4880 ext.w D0
00001260 4E5E unlink A6
00001262 4E75 rts
00001264 4D46 chk.w D6, D6
00001266 4953 chk.w D4, [A3]
00001268 5255 addq.w [A5], 1
0000126A 4E4E trap 14
fn0000126C:
0000126C 4E56 FFF6 link A6, -0x000A
00001270 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00001274 286E 0010 movea.l A4, [A6 + 0x10]
00001278 7E00 moveq.l D7, 0x00
0000127A 7C00 moveq.l D6, 0x00
0000127C 7A01 moveq.l D5, 0x01
0000127E 7801 moveq.l D4, 0x01
00001280 4EBA 055A jsr [PC + 0x55A /* 000017DC */]
00001284 4AAE 0014 tst.l [A6 + 0x14]
00001288 6722 beq +0x24 /* 000012AC */
0000128A 266E 0014 movea.l A3, [A6 + 0x14]
0000128E 082B 0005 0006 btst.b [A3 + 0x6], 0x5
00001294 670A beq +0xC /* 000012A0 */
00001296 082B 0006 0006 btst.b [A3 + 0x6], 0x6
0000129C 6700 0070 beq +0x72 /* 0000130E */
label000012A0:
000012A0 70D1 moveq.l D0, 0xFFFFFFD1
000012A2 3B40 A266 move.w [A5 - 0x5D9A], D0
000012A6 7000 moveq.l D0, 0x00
000012A8 6000 02A2 bra +0x2A4 /* 0000154C */
label000012AC:
000012AC 761E moveq.l D3, 0x1E
label000012AE:
000012AE 5343 subq.w D3, 1
000012B0 4A43 tst.w D3
000012B2 6D14 blt +0x16 /* 000012C8 */
000012B4 3003 move.w D0, D3
000012B6 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
000012B8 0012 41ED ori.b [A2], 0xED
000012BC A038 trap WriteParam
000012BE D1C0 add.l A0, D0
000012C0 0828 0006 0006 btst.b [A0 + 0x6], 0x6
000012C6 66E6 bne -0x18 /* 000012AE */
label000012C8:
000012C8 4A43 tst.w D3
000012CA 6C0C bge +0xE /* 000012D8 */
000012CC 70D6 moveq.l D0, 0xFFFFFFD6
000012CE 3B40 A266 move.w [A5 - 0x5D9A], D0
000012D2 7000 moveq.l D0, 0x00
000012D4 6000 0276 bra +0x278 /* 0000154C */
label000012D8:
000012D8 3003 move.w D0, D3
000012DA C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
000012DC 0012 41ED ori.b [A2], 0xED
000012E0 A038 trap WriteParam
000012E2 D1C0 add.l A0, D0
000012E4 2648 movea.l A3, A0
000012E6 4AAE 0018 tst.l [A6 + 0x18]
000012EA 6622 bne +0x24 /* 0000130E */
000012EC 200C move.l D0, A4
000012EE 671E beq +0x20 /* 0000130E */
000012F0 3C2C 0002 move.w D6, [A4 + 0x2]
000012F4 3E14 move.w D7, [A4]
000012F6 4A2C 0008 tst.b [A4 + 0x8]
000012FA 57C0 seq D0
000012FC 4400 neg.b D0
000012FE 4880 ext.w D0
00001300 1A00 move.b D5, D0
00001302 4A2C 000A tst.b [A4 + 0xA]
00001306 57C0 seq D0
00001308 4400 neg.b D0
0000130A 4880 ext.w D0
0000130C 1800 move.b D4, D0
label0000130E:
0000130E 4AAE 0018 tst.l [A6 + 0x18]
00001312 6708 beq +0xA /* 0000131C */
00001314 246E 0018 movea.l A2, [A6 + 0x18]
00001318 6000 020E bra +0x210 /* 00001528 */
label0000131C:
0000131C 486D 9DB2 pea.l [A5 - 0x624E]
00001320 4EBA FC00 jsr [PC - 0x400 /* 00000F22 */]
00001324 588F addq.l A7, 4
00001326 486D 9E1E pea.l [A5 - 0x61E2]
0000132A A88B trap GetFontInfo
0000132C 302D 9E1E move.w D0, [A5 - 0x61E2]
00001330 D06D 9E20 add.w D0, [A5 - 0x61E0]
00001334 D06D 9E24 add.w D0, [A5 - 0x61DC]
00001338 3600 move.w D3, D0
0000133A 4A47 tst.w D7
0000133C 6614 bne +0x16 /* 00001352 */
0000133E 302D 9C5C move.w D0, [A5 - 0x63A4]
00001342 906E 000C sub.w D0, [A6 + 0xC]
00001346 9043 sub.w D0, D3
00001348 0640 FFED addi.w D0, 0xFFED
0000134C 48C0 ext.l D0
0000134E 81C3 divs.w D0, D3
00001350 3E00 move.w D7, D0
label00001352:
00001352 4EBA FEE2 jsr [PC - 0x11E /* 00001236 */]
00001356 4A40 tst.w D0
00001358 6702 beq +0x4 /* 0000135C */
0000135A 7E0B moveq.l D7, 0x0B
label0000135C:
0000135C 4A46 tst.w D6
0000135E 6618 bne +0x1A /* 00001378 */
00001360 302D 9C5E move.w D0, [A5 - 0x63A2]
00001364 906E 000E sub.w D0, [A6 + 0xE]
00001368 906D 9E22 sub.w D0, [A5 - 0x61DE]
0000136C 0640 FFED addi.w D0, 0xFFED
00001370 48C0 ext.l D0
00001372 81ED 9E22 divs.w D0, [A5 - 0x61DE]
00001376 3C00 move.w D6, D0
label00001378:
00001378 3007 move.w D0, D7
0000137A C1C6 muls.w D0, D6
0000137C 42A7 clr.l -[A7]
0000137E 48C0 ext.l D0
00001380 0680 0000 00C4 addi.l D0, 0xC4
00001386 2F00 move.l -[A7], D0
00001388 4EBA ED0E jsr [PC - 0x12F2 /* 00000098 */]
0000138C 205F movea.l A0, [A7]+
0000138E 2448 movea.l A2, A0
00001390 2008 move.l D0, A0
00001392 660C bne +0xE /* 000013A0 */
00001394 7094 moveq.l D0, 0xFFFFFF94
00001396 3B40 A266 move.w [A5 - 0x5D9A], D0
0000139A 7000 moveq.l D0, 0x00
0000139C 6000 01AE bra +0x1B0 /* 0000154C */
label000013A0:
000013A0 41EA 00BC lea.l A0, [A2 + 0xBC]
000013A4 43ED 9E1E lea.l A1, [A5 - 0x61E2]
000013A8 20D9 move.l [A0]+, [A1]+
000013AA 20D9 move.l [A0]+, [A1]+
000013AC 3543 00B8 move.w [A2 + 0xB8], D3
000013B0 356D 9E22 00BA move.w [A2 + 0xBA], [A5 - 0x61DE]
000013B6 426A 00B4 clr.w [A2 + 0xB4]
000013BA 426A 00B6 clr.w [A2 + 0xB6]
000013BE 3007 move.w D0, D7
000013C0 5340 subq.w D0, 1
000013C2 3540 00B2 move.w [A2 + 0xB2], D0
000013C6 257C 4C53 5744 009C move.l [A2 + 0x9C], 0x4C535744 /* 'LSWD' */
000013CE 3B6E 000C 9E32 move.w [A5 - 0x61CE], [A6 + 0xC]
000013D4 3B6E 000E 9E34 move.w [A5 - 0x61CC], [A6 + 0xE]
000013DA 302A 00BA move.w D0, [A2 + 0xBA]
000013DE C1C6 muls.w D0, D6
000013E0 D06D 9E34 add.w D0, [A5 - 0x61CC]
000013E4 0640 0014 addi.w D0, 0x14
000013E8 3B40 9E38 move.w [A5 - 0x61C8], D0
000013EC 302A 00B8 move.w D0, [A2 + 0xB8]
000013F0 C1C7 muls.w D0, D7
000013F2 D06D 9E32 add.w D0, [A5 - 0x61CE]
000013F6 0640 0018 addi.w D0, 0x18
000013FA 3B40 9E36 move.w [A5 - 0x61CA], D0
000013FE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001402 4EBA EF68 jsr [PC - 0x1098 /* 0000036C */]
00001406 588F addq.l A7, 4
00001408 4A05 tst.b D5
0000140A 6706 beq +0x8 /* 00001412 */
0000140C 48E7 8000 movem.l -[A7], D0
00001410 6008 bra +0xA /* 0000141A */
label00001412:
00001412 48E7 8000 movem.l -[A7], D0
00001416 7004 moveq.l D0, 0x04
00001418 6002 bra +0x4 /* 0000141C */
label0000141A:
0000141A 7000 moveq.l D0, 0x00
label0000141C:
0000141C 3D40 FFF6 move.w [A6 - 0xA], D0
00001420 4CDF 0001 movem.l D0, [A7]+
00001424 42A7 clr.l -[A7]
00001426 2F0A move.l -[A7], A2
00001428 486D 9E32 pea.l [A5 - 0x61CE]
0000142C 2F00 move.l -[A7], D0
0000142E 1F3C 0001 move.b -[A7], 0x1
00001432 3F2E FFF6 move.w -[A7], [A6 - 0xA]
00001436 4878 FFFF pea.l [0xFFFFFFFF]
0000143A 1F04 move.b -[A7], D4
0000143C 42A7 clr.l -[A7]
0000143E A913 trap NewWindow
00001440 205F movea.l A0, [A7]+
00001442 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001446 4EBA EF40 jsr [PC - 0x10C0 /* 00000388 */]
0000144A 588F addq.l A7, 4
0000144C 41ED 0112 lea.l A0, [A5 + 0x112]
00001450 2D48 FFF8 move.l [A6 - 0x8], A0
00001454 42AE FFFC clr.l [A6 - 0x4]
00001458 4267 clr.w -[A7]
0000145A 486E FFF8 pea.l [A6 - 0x8]
0000145E 486A 0098 pea.l [A2 + 0x98]
00001462 4878 0008 pea.l [0x00000008 /* BusErrVct */]
00001466 4EBA EEE8 jsr [PC - 0x1118 /* 00000350 */]
0000146A 301F move.w D0, [A7]+
0000146C 2F0A move.l -[A7], A2
0000146E 4EBA FAB2 jsr [PC - 0x54E /* 00000F22 */]
00001472 588F addq.l A7, 4
00001474 4A05 tst.b D5
00001476 670E beq +0x10 /* 00001486 */
00001478 486A 0010 pea.l [A2 + 0x10]
0000147C A928 trap InvalRect
0000147E 2F0A move.l -[A7], A2
00001480 A969 trap DrawControls
00001482 2F0A move.l -[A7], A2
00001484 A904 trap DrawGrowIcon
label00001486:
00001486 486A 0010 pea.l [A2 + 0x10]
0000148A A92A trap ValidRect
0000148C 200C move.l D0, A4
0000148E 6710 beq +0x12 /* 000014A0 */
00001490 41EA 00A0 lea.l A0, [A2 + 0xA0]
00001494 43D4 lea.l A1, [A4]
00001496 20D9 move.l [A0]+, [A1]+
00001498 20D9 move.l [A0]+, [A1]+
0000149A 20D9 move.l [A0]+, [A1]+
0000149C 30D9 move.w [A0]+, [A1]+
0000149E 6046 bra +0x48 /* 000014E6 */
label000014A0:
000014A0 3547 00A0 move.w [A2 + 0xA0], D7
000014A4 3546 00A2 move.w [A2 + 0xA2], D6
000014A8 3546 00B0 move.w [A2 + 0xB0], D6
000014AC 7001 moveq.l D0, 0x01
000014AE 1540 00A4 move.b [A2 + 0xA4], D0
000014B2 7001 moveq.l D0, 0x01
000014B4 1540 00A5 move.b [A2 + 0xA5], D0
000014B8 7004 moveq.l D0, 0x04
000014BA 1540 00A6 move.b [A2 + 0xA6], D0
000014BE 422A 00A7 clr.b [A2 + 0xA7]
000014C2 4A05 tst.b D5
000014C4 57C0 seq D0
000014C6 4400 neg.b D0
000014C8 4880 ext.w D0
000014CA 1540 00A8 move.b [A2 + 0xA8], D0
000014CE 422A 00A9 clr.b [A2 + 0xA9]
000014D2 4A04 tst.b D4
000014D4 57C0 seq D0
000014D6 4400 neg.b D0
000014D8 4880 ext.w D0
000014DA 1540 00AA move.b [A2 + 0xAA], D0
000014DE 422A 00AB clr.b [A2 + 0xAB]
000014E2 422A 00AC clr.b [A2 + 0xAC]
label000014E6:
000014E6 3547 00AE move.w [A2 + 0xAE], D7
000014EA 3546 00B0 move.w [A2 + 0xB0], D6
000014EE 2F0A move.l -[A7], A2
000014F0 4EBA FD0A jsr [PC - 0x2F6 /* 000011FC */]
000014F4 588F addq.l A7, 4
000014F6 302A 00B4 move.w D0, [A2 + 0xB4]
000014FA C1EA 00BA muls.w D0, [A2 + 0xBA]
000014FE 322A 00B2 move.w D1, [A2 + 0xB2]
00001502 D26A 00AE add.w D1, [A2 + 0xAE]
00001506 926A 00A0 sub.w D1, [A2 + 0xA0]
0000150A C3EA 00B8 muls.w D1, [A2 + 0xB8]
0000150E D26A 00BC add.w D1, [A2 + 0xBC]
00001512 5840 addq.w D0, 4
00001514 3F00 move.w -[A7], D0
00001516 5841 addq.w D1, 4
00001518 3F01 move.w -[A7], D1
0000151A A893 trap MoveTo
0000151C 3F3C 0001 move.w -[A7], 0x1
00001520 2F0A move.l -[A7], A2
00001522 4EBA FA2C jsr [PC - 0x5D4 /* 00000F50 */]
00001526 5C8F addq.l A7, 6
label00001528:
00001528 274A 000A move.l [A3 + 0xA], A2
0000152C 08EB 0005 0006 bset.b [A3 + 0x6], 0x5
00001532 08EB 0006 0006 bset.b [A3 + 0x6], 0x6
00001538 08EB 0007 0007 bset.b [A3 + 0x7], 0x7
0000153E 08EB 0004 0006 bset.b [A3 + 0x6], 0x4
00001544 08EB 0003 0006 bset.b [A3 + 0x6], 0x3
0000154A 200B move.l D0, A3
label0000154C:
0000154C 4CDF 1CF8 movem.l A4,A3,A2,D7,D6,D5,D4,D3, [A7]+
00001550 4E5E unlink A6
00001552 4E75 rts
00001554 464F not.w A7
00001556 5045 addq.w D5, 8
00001558 4E57 5820 link A7, -0xFFFFA7E0
0000155C 4E56 0000 link A6, 0
00001560 42A7 clr.l -[A7]
00001562 42A7 clr.l -[A7]
00001564 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001568 2F2E 000C move.l -[A7], [A6 + 0xC]
0000156C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001570 4EBA FCFA jsr [PC - 0x306 /* 0000126C */]
00001574 4FEF 0014 lea.l A7, [A7 + 0x14]
00001578 4E5E unlink A6
0000157A 4E75 rts
0000157C 464F not.w A7
0000157E 5045 addq.w D5, 8
00001580 4E57 2020 link A7, -0xFFFFDFE0
fn00001584:
00001584 4E56 0000 link A6, 0
00001588 48E7 0018 movem.l -[A7], A3,A4
0000158C 286E 0008 movea.l A4, [A6 + 0x8]
00001590 200C move.l D0, A4
00001592 672E beq +0x30 /* 000015C2 */
00001594 082C 0006 0006 btst.b [A4 + 0x6], 0x6
0000159A 6726 beq +0x28 /* 000015C2 */
0000159C 082C 0007 0007 btst.b [A4 + 0x7], 0x7
000015A2 671E beq +0x20 /* 000015C2 */
000015A4 266C 000A movea.l A3, [A4 + 0xA]
000015A8 0CAB 4C53 5744 009C cmpi.l [A3 + 0x9C], 0x4C535744 /* 'LSWD' */
000015B0 6610 bne +0x12 /* 000015C2 */
000015B2 2B4C 9DA6 move.l [A5 - 0x625A], A4
000015B6 2B4B 9DA2 move.l [A5 - 0x625E], A3
000015BA 1B6B 00A5 9E40 move.b [A5 - 0x61C0], [A3 + 0xA5]
000015C0 6004 bra +0x6 /* 000015C6 */
label000015C2:
000015C2 70FF moveq.l D0, 0xFFFFFFFF
000015C4 6002 bra +0x4 /* 000015C8 */
label000015C6:
000015C6 7000 moveq.l D0, 0x00
label000015C8:
000015C8 4CDF 1800 movem.l A4,A3, [A7]+
000015CC 4E5E unlink A6
000015CE 4E75 rts
000015D0 5345 subq.w D5, 1
000015D2 5457 addq.w [A7], 2
000015D4 494E chk.w D4, A6
000015D6 444F neg.w A7
fn000015D8:
000015D8 4E56 0000 link A6, 0
000015DC 4EBA 01FE jsr [PC + 0x1FE /* 000017DC */]
000015E0 206E 000C movea.l A0, [A6 + 0xC]
000015E4 216D 9DA6 0004 move.l [A0 + 0x4], [A5 - 0x625A]
000015EA 206E 000C movea.l A0, [A6 + 0xC]
000015EE 20AD 9DA2 move.l [A0], [A5 - 0x625E]
000015F2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000015F6 4EBA FF8C jsr [PC - 0x74 /* 00001584 */]
000015FA 588F addq.l A7, 4
000015FC 4E5E unlink A6
000015FE 4E75 rts
00001600 5354 subq.w [A4], 1
00001602 4457 neg.w [A7]
00001604 5341 subq.w D1, 1
00001606 5645 addq.w D5, 3
fn00001608:
00001608 4E56 0000 link A6, 0
0000160C 202E 0008 move.l D0, [A6 + 0x8]
00001610 B0AD 9DA6 cmp.l D0, [A5 - 0x625A]
00001614 6704 beq +0x6 /* 0000161A */
00001616 70FF moveq.l D0, 0xFFFFFFFF
00001618 601E bra +0x20 /* 00001638 */
label0000161A:
0000161A 206E 000C movea.l A0, [A6 + 0xC]
0000161E 2B68 0004 9DA6 move.l [A5 - 0x625A], [A0 + 0x4]
00001624 206E 000C movea.l A0, [A6 + 0xC]
00001628 2B50 9DA2 move.l [A5 - 0x625E], [A0]
0000162C 206D 9DA2 movea.l A0, [A5 - 0x625E]
00001630 1B68 00A5 9E40 move.b [A5 - 0x61C0], [A0 + 0xA5]
00001636 7000 moveq.l D0, 0x00
label00001638:
00001638 4E5E unlink A6
0000163A 4E75 rts
0000163C 5354 subq.w [A4], 1
0000163E 4457 neg.w [A7]
00001640 5245 addq.w D5, 1
00001642 5354 subq.w [A4], 1
00001644 4E56 0000 link A6, 0
00001648 1B6E 0009 9E3C move.b [A5 - 0x61C4], [A6 + 0x9]
0000164E 4E5E unlink A6
00001650 4E75 rts
00001652 434C chk.w D1, A4
00001654 4943 chk.w D4, D3
00001656 4B4F chk.w D5, A7
00001658 4E20 .invalid // invalid opcode 4
export_31:
0000165A 4E56 FFFC link A6, -0x0004
0000165E 206E 0008 movea.l A0, [A6 + 0x8]
00001662 2D68 0010 FFFC move.l [A6 - 0x4], [A0 + 0x10]
00001668 206E 0008 movea.l A0, [A6 + 0x8]
0000166C 3010 move.w D0, [A0]
0000166E 4EAD 002A jsr [A5 + 0x2A]
00001672 0002 000A ori.b D2, 0xA /* '\n' */
00001676 0006 0024 ori.b D6, 0x24 /* '$' */
0000167A 0017 0024 ori.b [A7], 0x24 /* '$' */
0000167E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001682 A873 trap SetPort
00001684 3F3C 0004 move.w -[A7], 0x4
00001688 302D 9E20 move.w D0, [A5 - 0x61E0]
0000168C 0640 0018 addi.w D0, 0x18
00001690 3F00 move.w -[A7], D0
00001692 A893 trap MoveTo
00001694 486D 9F96 pea.l [A5 - 0x606A]
00001698 A884 trap DrawString
0000169A 6008 bra +0xA /* 000016A4 */
0000169C 4EBA F272 jsr [PC - 0xD8E /* 00000910 */]
000016A0 7000 moveq.l D0, 0x00
000016A2 6002 bra +0x4 /* 000016A6 */
label000016A4:
000016A4 7001 moveq.l D0, 0x01
label000016A6:
000016A6 4E5E unlink A6
000016A8 4E75 rts
000016AA 4452 neg.w [A2]
000016AC 4157 chk.w D0, [A7]
000016AE 4558 chk.w D2, [A0]+
000016B0 4954 chk.w D4, [A4]
export_32:
000016B2 4E56 FFE8 link A6, -0x0018
000016B6 3F3C 0001 move.w -[A7], 0x1
000016BA 4EBA EF9E jsr [PC - 0x1062 /* 0000065A */]
000016BE 548F addq.l A7, 2
000016C0 4A2D 9E3C tst.b [A5 - 0x61C4]
000016C4 6700 00BC beq +0xBE /* 00001782 */
000016C8 3F3C FFFF move.w -[A7], 0xFFFF
000016CC 4267 clr.w -[A7]
000016CE 4EBA E968 jsr [PC - 0x1698 /* 00000038 */]
000016D2 7032 moveq.l D0, 0x32
000016D4 3B40 9E32 move.w [A5 - 0x61CE], D0
000016D8 3B40 9E34 move.w [A5 - 0x61CC], D0
000016DC 3B7C 01C8 9E38 move.w [A5 - 0x61C8], 0x1C8
000016E2 7064 moveq.l D0, 0x64
000016E4 3B40 9E36 move.w [A5 - 0x61CA], D0
000016E8 42A7 clr.l -[A7]
000016EA 42A7 clr.l -[A7]
000016EC 486D 9E32 pea.l [A5 - 0x61CE]
000016F0 486D 9FD2 pea.l [A5 - 0x602E]
000016F4 1F3C 0001 move.b -[A7], 0x1
000016F8 3F3C 0004 move.w -[A7], 0x4
000016FC 4878 FFFF pea.l [0xFFFFFFFF]
00001700 1F3C 0001 move.b -[A7], 0x1
00001704 42A7 clr.l -[A7]
00001706 A913 trap NewWindow
00001708 205F movea.l A0, [A7]+
0000170A 2B48 9DAA move.l [A5 - 0x6256], A0
0000170E 41ED 011A lea.l A0, [A5 + 0x11A]
00001712 2D48 FFF8 move.l [A6 - 0x8], A0
00001716 4267 clr.w -[A7]
00001718 486E FFF8 pea.l [A6 - 0x8]
0000171C 206D 9DAA movea.l A0, [A5 - 0x6256]
00001720 4868 0098 pea.l [A0 + 0x98]
00001724 4878 0008 pea.l [0x00000008 /* BusErrVct */]
00001728 4EBA EC26 jsr [PC - 0x13DA /* 00000350 */]
0000172C 301F move.w D0, [A7]+
0000172E 426D 9E26 clr.w [A5 - 0x61DA]
00001732 700C moveq.l D0, 0x0C
00001734 3B40 9E28 move.w [A5 - 0x61D8], D0
00001738 2F2D 9DAA move.l -[A7], [A5 - 0x6256]
0000173C 4EBA F7E4 jsr [PC - 0x81C /* 00000F22 */]
00001740 588F addq.l A7, 4
00001742 6006 bra +0x8 /* 0000174A */
label00001744:
00001744 4267 clr.w -[A7]
00001746 A938 trap HiliteMenu
00001748 A9B4 trap SystemTask
label0000174A:
0000174A 4267 clr.w -[A7]
0000174C 3F3C FFFF move.w -[A7], 0xFFFF
00001750 486E FFE8 pea.l [A6 - 0x18]
00001754 A970 trap GetNextEvent
00001756 101F move.b D0, [A7]+
00001758 4A00 tst.b D0
0000175A 67E8 beq -0x16 /* 00001744 */
0000175C 486D 9C60 pea.l [A5 - 0x63A0]
00001760 A851 trap SetCursor
00001762 0C6E 0003 FFE8 cmpi.w [A6 - 0x18], 0x3
00001768 6608 bne +0xA /* 00001772 */
0000176A 0C2E 000D FFED cmpi.b [A6 - 0x13], 0xD /* '\r' */
00001770 670C beq +0xE /* 0000177E */
label00001772:
00001772 486E FFE8 pea.l [A6 - 0x18]
00001776 4EBA F2DA jsr [PC - 0xD26 /* 00000A52 */]
0000177A 588F addq.l A7, 4
0000177C 60CC bra -0x32 /* 0000174A */
label0000177E:
0000177E 4EBA F190 jsr [PC - 0xE70 /* 00000910 */]
label00001782:
00001782 4E5E unlink A6
00001784 4E75 rts
00001786 434C chk.w D1, A4
00001788 4943 chk.w D4, D3
0000178A 4B54 chk.w D5, [A4]
0000178C 4F43 chk.w D7, D3
fn0000178E:
0000178E 4E56 0000 link A6, 0
00001792 3B6E 0008 9E26 move.w [A5 - 0x61DA], [A6 + 0x8]
00001798 3B6E 000A 9E28 move.w [A5 - 0x61D8], [A6 + 0xA]
0000179E 3B6E 000C 9E2A move.w [A5 - 0x61D6], [A6 + 0xC]
000017A4 3B6E 000E 9E2C move.w [A5 - 0x61D4], [A6 + 0xE]
000017AA 4E5E unlink A6
000017AC 4E75 rts
000017AE 5354 subq.w [A4], 1
000017B0 4449 neg.w A1
000017B2 4F43 chk.w D7, D3
000017B4 4F4E chk.w D7, A6
000017B6 4E56 0000 link A6, 0
000017BA 3F2E 000E move.w -[A7], [A6 + 0xE]
000017BE 3F2E 000C move.w -[A7], [A6 + 0xC]
000017C2 3F2E 000A move.w -[A7], [A6 + 0xA]
000017C6 3F2E 0008 move.w -[A7], [A6 + 0x8]
000017CA 4EBA FFC2 jsr [PC - 0x3E /* 0000178E */]
000017CE 508F addq.l A7, 8
000017D0 4E5E unlink A6
000017D2 4E75 rts
000017D4 5354 subq.w [A4], 1
000017D6 4449 neg.w A1
000017D8 4F43 chk.w D7, D3
000017DA 4F4E chk.w D7, A6
export_34:
fn000017DC:
000017DC 4E56 FFFC link A6, -0x0004
000017E0 2F0C move.l -[A7], A4
000017E2 4A2D 9E3A tst.b [A5 - 0x61C6]
000017E6 6708 beq +0xA /* 000017F0 */
000017E8 4A2D 9E3B tst.b [A5 - 0x61C5]
000017EC 6600 00F4 bne +0xF6 /* 000018E2 */
label000017F0:
000017F0 4A2D 9E3A tst.b [A5 - 0x61C6]
000017F4 662A bne +0x2C /* 00001820 */
000017F6 7001 moveq.l D0, 0x01
000017F8 1B40 9E3A move.b [A5 - 0x61C6], D0
000017FC 486D 9CCC pea.l [A5 - 0x6334]
00001800 A86E trap InitGraf
00001802 A8FE trap InitFonts
00001804 A912 trap InitWindows
00001806 42A7 clr.l -[A7]
00001808 A97B trap InitDialogs
0000180A 4EBA F07A jsr [PC - 0xF86 /* 00000886 */]
0000180E A9CC trap TEInit
00001810 3F3C FFFF move.w -[A7], 0xFFFF
00001814 4267 clr.w -[A7]
00001816 4EBA E820 jsr [PC - 0x17E0 /* 00000038 */]
0000181A 4267 clr.w -[A7]
0000181C A938 trap HiliteMenu
0000181E A9B4 trap SystemTask
label00001820:
00001820 4A2D 9E3B tst.b [A5 - 0x61C5]
00001824 6600 00AC bne +0xAE /* 000018D2 */
00001828 7001 moveq.l D0, 0x01
0000182A 1B40 9E3B move.b [A5 - 0x61C5], D0
0000182E 486D 9DB2 pea.l [A5 - 0x624E]
00001832 A86F trap OpenPort
00001834 7004 moveq.l D0, 0x04
00001836 3D40 FFFE move.w [A6 - 0x2], D0
0000183A 0C78 FFFF 028E cmpi.w [0x0000028E /* ROM85 */], 0xFFFF
00001840 6706 beq +0x8 /* 00001848 */
00001842 3038 0BAA move.w D0, [0x00000BAA /* MBarHeight */]
00001846 6002 bra +0x4 /* 0000184A */
label00001848:
00001848 7014 moveq.l D0, 0x14
label0000184A:
0000184A 0640 0018 addi.w D0, 0x18
0000184E 3D40 FFFC move.w [A6 - 0x4], D0
00001852 42A7 clr.l -[A7]
00001854 486D A254 pea.l [A5 - 0x5DAC]
00001858 42A7 clr.l -[A7]
0000185A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000185E 486D 9FDE pea.l [A5 - 0x6022]
00001862 4EBA FA08 jsr [PC - 0x5F8 /* 0000126C */]
00001866 4FEF 0014 lea.l A7, [A7 + 0x14]
0000186A 2F00 move.l -[A7], D0
0000186C 4EBA FD16 jsr [PC - 0x2EA /* 00001584 */]
00001870 588F addq.l A7, 4
00001872 2B6D 9DA2 9DAE move.l [A5 - 0x6252], [A5 - 0x625E]
00001878 08ED 0004 A25A bset.b [A5 - 0x5DA6], 0x4
0000187E 082D 0005 A050 btst.b [A5 - 0x5FB0], 0x5
00001884 671A beq +0x1C /* 000018A0 */
00001886 2F2D 9DAE move.l -[A7], [A5 - 0x6252]
0000188A 486D A04A pea.l [A5 - 0x5FB6]
0000188E 42A7 clr.l -[A7]
00001890 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001894 486D 9FE6 pea.l [A5 - 0x601A]
00001898 4EBA F9D2 jsr [PC - 0x62E /* 0000126C */]
0000189C 4FEF 0014 lea.l A7, [A7 + 0x14]
label000018A0:
000018A0 082D 0005 A062 btst.b [A5 - 0x5F9E], 0x5
000018A6 671A beq +0x1C /* 000018C2 */
000018A8 2F2D 9DAE move.l -[A7], [A5 - 0x6252]
000018AC 486D A05C pea.l [A5 - 0x5FA4]
000018B0 42A7 clr.l -[A7]
000018B2 2F2E FFFC move.l -[A7], [A6 - 0x4]
000018B6 486D 9FE8 pea.l [A5 - 0x6018]
000018BA 4EBA F9B0 jsr [PC - 0x650 /* 0000126C */]
000018BE 4FEF 0014 lea.l A7, [A7 + 0x14]
label000018C2:
000018C2 486D 0122 pea.l [A5 + 0x122]
000018C6 4EBA ECAC jsr [PC - 0x1354 /* 00000574 */]
000018CA 588F addq.l A7, 4
000018CC 486D 9C60 pea.l [A5 - 0x63A0]
000018D0 A851 trap SetCursor
label000018D2:
000018D2 4AAD 9E2E tst.l [A5 - 0x61D2]
000018D6 660A bne +0xC /* 000018E2 */
000018D8 42A7 clr.l -[A7]
000018DA A8D8 trap NewRgn
000018DC 205F movea.l A0, [A7]+
000018DE 2B48 9E2E move.l [A5 - 0x61D2], A0
label000018E2:
000018E2 285F movea.l A4, [A7]+
000018E4 4E5E unlink A6
000018E6 4E75 rts
000018E8 494E chk.w D4, A6
000018EA 4954 chk.w D4, [A4]
000018EC 5354 subq.w [A4], 1
000018EE 4449 neg.w A1
fn000018F0:
000018F0 4E56 0000 link A6, 0
000018F4 1B6E 0009 9E40 move.b [A5 - 0x61C0], [A6 + 0x9]
000018FA 4AAD 9DA6 tst.l [A5 - 0x625A]
000018FE 670A beq +0xC /* 0000190A */
00001900 206D 9DA2 movea.l A0, [A5 - 0x625E]
00001904 116E 0009 00A5 move.b [A0 + 0xA5], [A6 + 0x9]
label0000190A:
0000190A 4E5E unlink A6
0000190C 4E75 rts
0000190E 5345 subq.w D5, 1
00001910 5445 addq.w D5, 2
00001912 4348 chk.w D1, A0
00001914 4F20 .invalid 7, -[A0] // invalid opcode 4 with b == 4
00001916 4E56 0000 link A6, 0
0000191A 1B6E 0009 9E3A move.b [A5 - 0x61C6], [A6 + 0x9]
00001920 4E5E unlink A6
00001922 4E75 rts
00001924 5354 subq.w [A4], 1
00001926 4449 neg.w A1
00001928 4F4D chk.w D7, A5
0000192A 4143 chk.w D0, D3
0000192C 4E56 0000 link A6, 0
00001930 4EBA FEAA jsr [PC - 0x156 /* 000017DC */]
00001934 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1
0000193A 6F08 ble +0xA /* 00001944 */
0000193C 306E 0008 movea.w A0, [A6 + 0x8]
00001940 2008 move.l D0, A0
00001942 6002 bra +0x4 /* 00001946 */
label00001944:
00001944 7001 moveq.l D0, 0x01
label00001946:
00001946 206D 9DA2 movea.l A0, [A5 - 0x625E]
0000194A 1140 00A6 move.b [A0 + 0xA6], D0
0000194E 4E5E unlink A6
00001950 4E75 rts
00001952 5345 subq.w D5, 1
00001954 5454 addq.w [A4], 2
00001956 4142 chk.w D0, D2
00001958 2020 move.l D0, -[A0]
0000195A 4E56 0000 link A6, 0
0000195E 48E7 0308 movem.l -[A7], D6,D7,A4
00001962 3E2E 0008 move.w D7, [A6 + 0x8]
00001966 3C2E 000A move.w D6, [A6 + 0xA]
0000196A 4EBA FE70 jsr [PC - 0x190 /* 000017DC */]
0000196E 286D 9DA2 movea.l A4, [A5 - 0x625E]
00001972 BE6C 00A2 cmp.w D7, [A4 + 0xA2]
00001976 6C46 bge +0x48 /* 000019BE */
00001978 BC6C 00A0 cmp.w D6, [A4 + 0xA0]
0000197C 6C40 bge +0x42 /* 000019BE */
0000197E 4267 clr.w -[A7]
00001980 2F0C move.l -[A7], A4
00001982 4EBA F5CC jsr [PC - 0xA34 /* 00000F50 */]
00001986 5C8F addq.l A7, 6
00001988 3947 00B4 move.w [A4 + 0xB4], D7
0000198C 3946 00B2 move.w [A4 + 0xB2], D6
00001990 302C 00BA move.w D0, [A4 + 0xBA]
00001994 C1C7 muls.w D0, D7
00001996 3206 move.w D1, D6
00001998 D26C 00AE add.w D1, [A4 + 0xAE]
0000199C 926C 00A0 sub.w D1, [A4 + 0xA0]
000019A0 C3EC 00B8 muls.w D1, [A4 + 0xB8]
000019A4 D26C 00BC add.w D1, [A4 + 0xBC]
000019A8 5840 addq.w D0, 4
000019AA 3F00 move.w -[A7], D0
000019AC 5841 addq.w D1, 4
000019AE 3F01 move.w -[A7], D1
000019B0 A893 trap MoveTo
000019B2 3F3C 0001 move.w -[A7], 0x1
000019B6 2F0C move.l -[A7], A4
000019B8 4EBA F596 jsr [PC - 0xA6A /* 00000F50 */]
000019BC 5C8F addq.l A7, 6
label000019BE:
000019BE 4CDF 10C0 movem.l A4,D7,D6, [A7]+
000019C2 4E5E unlink A6
000019C4 4E75 rts
000019C6 474F chk.w D3, A7
000019C8 544F addq.w A7, 2
000019CA 5859 addq.w [A1]+, 4
000019CC 2020 move.l D0, -[A0]
000019CE 4EBA FE0C jsr [PC - 0x1F4 /* 000017DC */]
000019D2 206D 9DA2 movea.l A0, [A5 - 0x625E]
000019D6 3028 00B4 move.w D0, [A0 + 0xB4]
000019DA 4E75 rts
000019DC 4EBA FDFE jsr [PC - 0x202 /* 000017DC */]
000019E0 206D 9DA2 movea.l A0, [A5 - 0x625E]
000019E4 3028 00B2 move.w D0, [A0 + 0xB2]
000019E8 4E75 rts
000019EA 4E56 0000 link A6, 0
000019EE 2F0C move.l -[A7], A4
000019F0 286E 0008 movea.l A4, [A6 + 0x8]
000019F4 4EBA FDE6 jsr [PC - 0x21A /* 000017DC */]
000019F8 082C 0006 0006 btst.b [A4 + 0x6], 0x6
000019FE 6714 beq +0x16 /* 00001A14 */
00001A00 082C 0007 0007 btst.b [A4 + 0x7], 0x7
00001A06 670C beq +0xE /* 00001A14 */
00001A08 206C 000A movea.l A0, [A4 + 0xA]
00001A0C 41E8 00C4 lea.l A0, [A0 + 0xC4]
00001A10 2008 move.l D0, A0
00001A12 6002 bra +0x4 /* 00001A16 */
label00001A14:
00001A14 7000 moveq.l D0, 0x00
label00001A16:
00001A16 285F movea.l A4, [A7]+
00001A18 4E5E unlink A6
00001A1A 4E75 rts
00001A1C 4745 chk.w D3, D5
00001A1E 5453 addq.w [A3], 2
00001A20 4352 chk.w D1, [A2]
00001A22 4545 chk.w D2, D5
00001A24 4E56 0000 link A6, 0
00001A28 2F0C move.l -[A7], A4
00001A2A 286E 0008 movea.l A4, [A6 + 0x8]
00001A2E 4EBA FDAC jsr [PC - 0x254 /* 000017DC */]
00001A32 082C 0006 0006 btst.b [A4 + 0x6], 0x6
00001A38 670E beq +0x10 /* 00001A48 */
00001A3A 082C 0007 0007 btst.b [A4 + 0x7], 0x7
00001A40 6706 beq +0x8 /* 00001A48 */
00001A42 202C 000A move.l D0, [A4 + 0xA]
00001A46 6002 bra +0x4 /* 00001A4A */
label00001A48:
00001A48 7000 moveq.l D0, 0x00
label00001A4A:
00001A4A 285F movea.l A4, [A7]+
00001A4C 4E5E unlink A6
00001A4E 4E75 rts
00001A50 4745 chk.w D3, D5
00001A52 5457 addq.w [A7], 2
00001A54 494E chk.w D4, A6
00001A56 444F neg.w A7
export_33:
fn00001A58:
00001A58 4E56 FFF6 link A6, -0x000A
00001A5C 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
00001A60 1E2E 0009 move.b D7, [A6 + 0x9]
00001A64 4A6D 9F42 tst.w [A5 - 0x60BE]
00001A68 660A bne +0xC /* 00001A74 */
00001A6A 7001 moveq.l D0, 0x01
00001A6C 3B40 9F42 move.w [A5 - 0x60BE], D0
00001A70 4EBA FD6A jsr [PC - 0x296 /* 000017DC */]
label00001A74:
00001A74 4AAD 9DA2 tst.l [A5 - 0x625E]
00001A78 6700 042C beq +0x42E /* 00001EA6 */
00001A7C 206D 9DA6 movea.l A0, [A5 - 0x625A]
00001A80 0828 0006 0006 btst.b [A0 + 0x6], 0x6
00001A86 6700 041E beq +0x420 /* 00001EA6 */
00001A8A 4AAD A020 tst.l [A5 - 0x5FE0]
00001A8E 6718 beq +0x1A /* 00001AA8 */
00001A90 202D 9DA2 move.l D0, [A5 - 0x625E]
00001A94 B0AD 9DAE cmp.l D0, [A5 - 0x6252]
00001A98 660E bne +0x10 /* 00001AA8 */
00001A9A 1007 move.b D0, D7
00001A9C 4880 ext.w D0
00001A9E 3F00 move.w -[A7], D0
00001AA0 206D A020 movea.l A0, [A5 - 0x5FE0]
00001AA4 4E90 jsr [A0]
00001AA6 548F addq.l A7, 2
label00001AA8:
00001AA8 286D 9DA2 movea.l A4, [A5 - 0x625E]
00001AAC 2F0C move.l -[A7], A4
00001AAE A873 trap SetPort
00001AB0 42A7 clr.l -[A7]
00001AB2 A924 trap FrontWindow
00001AB4 205F movea.l A0, [A7]+
00001AB6 B9C8 cmpa.l A4, A0
00001AB8 6712 beq +0x14 /* 00001ACC */
00001ABA 4A2C 00A7 tst.b [A4 + 0xA7]
00001ABE 660C bne +0xE /* 00001ACC */
00001AC0 2F0C move.l -[A7], A4
00001AC2 A91F trap SelectWindow
00001AC4 2F0C move.l -[A7], A4
00001AC6 4EBA F526 jsr [PC - 0xADA /* 00000FEE */]
00001ACA 588F addq.l A7, 4
label00001ACC:
00001ACC 4267 clr.w -[A7]
00001ACE A974 trap Button
00001AD0 101F move.b D0, [A7]+
00001AD2 4A00 tst.b D0
00001AD4 66F6 bne -0x8 /* 00001ACC */
00001AD6 0C07 0020 cmpi.b D7, 0x20 /* ' ' */
00001ADA 6C00 0244 bge +0x246 /* 00001D20 */
00001ADE 1007 move.b D0, D7
00001AE0 4880 ext.w D0
00001AE2 4EAD 003A jsr [A5 + 0x3A]
00001AE6 0007 000D ori.b D7, 0xD /* '\r' */
00001AEA 0236 022A 013C andi.b <<invalid full ext with I/IS == 4>>, 0x2A /* '*' */
00001AF0 000A 022E ori.b A2, 0x2E /* '.' */
00001AF4 022C 01B6 00F2 andi.b [A4 + 0xF2], 0xB6
00001AFA 422E FFFF clr.b [A6 - 0x1]
00001AFE 102C 00A6 move.b D0, [A4 + 0xA6]
00001B02 4880 ext.w D0
00001B04 306C 00B4 movea.w A0, [A4 + 0xB4]
00001B08 2208 move.l D1, A0
00001B0A 83C0 divs.w D1, D0
00001B0C 4841 swap.w D1
00001B0E 102C 00A6 move.b D0, [A4 + 0xA6]
00001B12 4880 ext.w D0
00001B14 9041 sub.w D0, D1
00001B16 3C00 move.w D6, D0
00001B18 302C 00B4 move.w D0, [A4 + 0xB4]
00001B1C D046 add.w D0, D6
00001B1E B06C 00A2 cmp.w D0, [A4 + 0xA2]
00001B22 6F12 ble +0x14 /* 00001B36 */
00001B24 7001 moveq.l D0, 0x01
00001B26 1D40 FFFF move.b [A6 - 0x1], D0
00001B2A 7E0A moveq.l D7, 0x0A
00001B2C 302C 00A2 move.w D0, [A4 + 0xA2]
00001B30 906C 00B4 sub.w D0, [A4 + 0xB4]
00001B34 3C00 move.w D6, D0
label00001B36:
00001B36 4A46 tst.w D6
00001B38 6F00 00A4 ble +0xA6 /* 00001BDE */
00001B3C 302C 00B6 move.w D0, [A4 + 0xB6]
00001B40 D06C 00B2 add.w D0, [A4 + 0xB2]
00001B44 48C0 ext.l D0
00001B46 81EC 00A0 divs.w D0, [A4 + 0xA0]
00001B4A 4840 swap.w D0
00001B4C C1EC 00A2 muls.w D0, [A4 + 0xA2]
00001B50 48C0 ext.l D0
00001B52 D08C add.l D0, A4
00001B54 306C 00B4 movea.w A0, [A4 + 0xB4]
00001B58 D088 add.l D0, A0
00001B5A 0680 0000 00C3 addi.l D0, 0xC3
00001B60 2640 movea.l A3, D0
00001B62 4267 clr.w -[A7]
00001B64 2F0C move.l -[A7], A4
00001B66 4EBA F3E8 jsr [PC - 0xC18 /* 00000F50 */]
00001B6A 5C8F addq.l A7, 6
00001B6C 302C 0032 move.w D0, [A4 + 0x32]
00001B70 3D40 FFF8 move.w [A6 - 0x8], D0
00001B74 322C 00BA move.w D1, [A4 + 0xBA]
00001B78 C3C6 muls.w D1, D6
00001B7A D041 add.w D0, D1
00001B7C 3D40 FFFC move.w [A6 - 0x4], D0
00001B80 302C 0030 move.w D0, [A4 + 0x30]
00001B84 D06C 00BE add.w D0, [A4 + 0xBE]
00001B88 3D40 FFFA move.w [A6 - 0x6], D0
00001B8C 906C 00B8 sub.w D0, [A4 + 0xB8]
00001B90 3D40 FFF6 move.w [A6 - 0xA], D0
00001B94 486E FFF6 pea.l [A6 - 0xA]
00001B98 A8A3 trap EraseRect
00001B9A DD6C 00B4 add.w [A4 + 0xB4], D6
00001B9E 6006 bra +0x8 /* 00001BA6 */
label00001BA0:
00001BA0 528B addq.l A3, 1
00001BA2 7020 moveq.l D0, 0x20
00001BA4 1680 move.b [A3], D0
label00001BA6:
00001BA6 5346 subq.w D6, 1
00001BA8 4A46 tst.w D6
00001BAA 6CF4 bge -0xA /* 00001BA0 */
00001BAC 302C 00B4 move.w D0, [A4 + 0xB4]
00001BB0 C1EC 00BA muls.w D0, [A4 + 0xBA]
00001BB4 322C 00B2 move.w D1, [A4 + 0xB2]
00001BB8 D26C 00AE add.w D1, [A4 + 0xAE]
00001BBC 926C 00A0 sub.w D1, [A4 + 0xA0]
00001BC0 C3EC 00B8 muls.w D1, [A4 + 0xB8]
00001BC4 D26C 00BC add.w D1, [A4 + 0xBC]
00001BC8 5840 addq.w D0, 4
00001BCA 3F00 move.w -[A7], D0
00001BCC 5841 addq.w D1, 4
00001BCE 3F01 move.w -[A7], D1
00001BD0 A893 trap MoveTo
00001BD2 3F3C 0001 move.w -[A7], 0x1
00001BD6 2F0C move.l -[A7], A4
00001BD8 4EBA F376 jsr [PC - 0xC8A /* 00000F50 */]
00001BDC 5C8F addq.l A7, 6
label00001BDE:
00001BDE 4A2E FFFF tst.b [A6 - 0x1]
00001BE2 6600 013C bne +0x13E /* 00001D20 */
00001BE6 6000 02BE bra +0x2C0 /* 00001EA6 */
00001BEA 4267 clr.w -[A7]
00001BEC 2F0C move.l -[A7], A4
00001BEE 4EBA F360 jsr [PC - 0xCA0 /* 00000F50 */]
00001BF2 5C8F addq.l A7, 6
00001BF4 426C 00B4 clr.w [A4 + 0xB4]
00001BF8 302C 00BA move.w D0, [A4 + 0xBA]
00001BFC 302C 00B2 move.w D0, [A4 + 0xB2]
00001C00 D06C 00AE add.w D0, [A4 + 0xAE]
00001C04 906C 00A0 sub.w D0, [A4 + 0xA0]
00001C08 C1EC 00B8 muls.w D0, [A4 + 0xB8]
00001C0C D06C 00BC add.w D0, [A4 + 0xBC]
00001C10 3F3C 0004 move.w -[A7], 0x4
00001C14 5840 addq.w D0, 4
00001C16 3F00 move.w -[A7], D0
00001C18 A893 trap MoveTo
00001C1A 3F3C 0001 move.w -[A7], 0x1
00001C1E 2F0C move.l -[A7], A4
00001C20 4EBA F32E jsr [PC - 0xCD2 /* 00000F50 */]
00001C24 5C8F addq.l A7, 6
00001C26 6000 027E bra +0x280 /* 00001EA6 */
00001C2A 4267 clr.w -[A7]
00001C2C 2F0C move.l -[A7], A4
00001C2E 4EBA F320 jsr [PC - 0xCE0 /* 00000F50 */]
00001C32 5C8F addq.l A7, 6
00001C34 4A6C 00B4 tst.w [A4 + 0xB4]
00001C38 6638 bne +0x3A /* 00001C72 */
00001C3A 4A6C 00B2 tst.w [A4 + 0xB2]
00001C3E 6606 bne +0x8 /* 00001C46 */
00001C40 4A2C 00AB tst.b [A4 + 0xAB]
00001C44 6706 beq +0x8 /* 00001C4C */
label00001C46:
00001C46 4A2C 00AC tst.b [A4 + 0xAC]
00001C4A 6710 beq +0x12 /* 00001C5C */
label00001C4C:
00001C4C 3F3C 0001 move.w -[A7], 0x1
00001C50 2F0C move.l -[A7], A4
00001C52 4EBA F2FC jsr [PC - 0xD04 /* 00000F50 */]
00001C56 5C8F addq.l A7, 6
00001C58 6000 024C bra +0x24E /* 00001EA6 */
label00001C5C:
00001C5C 4A6C 00B2 tst.w [A4 + 0xB2]
00001C60 6606 bne +0x8 /* 00001C68 */
00001C62 396C 00A0 00B2 move.w [A4 + 0xB2], [A4 + 0xA0]
label00001C68:
00001C68 536C 00B2 subq.w [A4 + 0xB2], 1
00001C6C 396C 00A2 00B4 move.w [A4 + 0xB4], [A4 + 0xA2]
label00001C72:
00001C72 536C 00B4 subq.w [A4 + 0xB4], 1
00001C76 302C 00B4 move.w D0, [A4 + 0xB4]
00001C7A C1EC 00BA muls.w D0, [A4 + 0xBA]
00001C7E 322C 00B2 move.w D1, [A4 + 0xB2]
00001C82 D26C 00AE add.w D1, [A4 + 0xAE]
00001C86 926C 00A0 sub.w D1, [A4 + 0xA0]
00001C8A C3EC 00B8 muls.w D1, [A4 + 0xB8]
00001C8E D26C 00BC add.w D1, [A4 + 0xBC]
00001C92 5840 addq.w D0, 4
00001C94 3F00 move.w -[A7], D0
00001C96 5841 addq.w D1, 4
00001C98 3F01 move.w -[A7], D1
00001C9A A893 trap MoveTo
00001C9C 3F3C 0001 move.w -[A7], 0x1
00001CA0 2F0C move.l -[A7], A4
00001CA2 4EBA F2AC jsr [PC - 0xD54 /* 00000F50 */]
00001CA6 5C8F addq.l A7, 6
00001CA8 6000 01FC bra +0x1FE /* 00001EA6 */
00001CAC 4267 clr.w -[A7]
00001CAE 2F0C move.l -[A7], A4
00001CB0 4EBA F29E jsr [PC - 0xD62 /* 00000F50 */]
00001CB4 5C8F addq.l A7, 6
00001CB6 41EE FFF8 lea.l A0, [A6 - 0x8]
00001CBA 43EC 0010 lea.l A1, [A4 + 0x10]
00001CBE 20D9 move.l [A0]+, [A1]+
00001CC0 20D9 move.l [A0]+, [A1]+
00001CC2 066E FFEF FFFE addi.w [A6 - 0x2], 0xFFEF
00001CC8 066E FFEF FFFC addi.w [A6 - 0x4], 0xFFEF
00001CCE 486E FFF8 pea.l [A6 - 0x8]
00001CD2 A8A3 trap EraseRect
00001CD4 426C 00B4 clr.w [A4 + 0xB4]
00001CD8 426C 00B2 clr.w [A4 + 0xB2]
00001CDC 426C 00B6 clr.w [A4 + 0xB6]
00001CE0 2F0C move.l -[A7], A4
00001CE2 4EBA F518 jsr [PC - 0xAE8 /* 000011FC */]
00001CE6 588F addq.l A7, 4
00001CE8 302C 00BA move.w D0, [A4 + 0xBA]
00001CEC 302C 00AE move.w D0, [A4 + 0xAE]
00001CF0 906C 00A0 sub.w D0, [A4 + 0xA0]
00001CF4 C1EC 00B8 muls.w D0, [A4 + 0xB8]
00001CF8 D06C 00BC add.w D0, [A4 + 0xBC]
00001CFC 3F3C 0004 move.w -[A7], 0x4
00001D00 5840 addq.w D0, 4
00001D02 3F00 move.w -[A7], D0
00001D04 A893 trap MoveTo
00001D06 3F3C 0001 move.w -[A7], 0x1
00001D0A 2F0C move.l -[A7], A4
00001D0C 4EBA F242 jsr [PC - 0xDBE /* 00000F50 */]
00001D10 5C8F addq.l A7, 6
00001D12 6000 0192 bra +0x194 /* 00001EA6 */
00001D16 3F3C 0002 move.w -[A7], 0x2
00001D1A A9C8 trap SysBeep
00001D1C 6000 0188 bra +0x18A /* 00001EA6 */
label00001D20:
00001D20 4267 clr.w -[A7]
00001D22 2F0C move.l -[A7], A4
00001D24 4EBA F22A jsr [PC - 0xDD6 /* 00000F50 */]
00001D28 5C8F addq.l A7, 6
00001D2A 0C07 000A cmpi.b D7, 0xA /* '\n' */
00001D2E 6700 007C beq +0x7E /* 00001DAC */
00001D32 302C 00B4 move.w D0, [A4 + 0xB4]
00001D36 B06C 00A2 cmp.w D0, [A4 + 0xA2]
00001D3A 6C00 0070 bge +0x72 /* 00001DAC */
00001D3E 302C 00B6 move.w D0, [A4 + 0xB6]
00001D42 D06C 00B2 add.w D0, [A4 + 0xB2]
00001D46 48C0 ext.l D0
00001D48 81EC 00A0 divs.w D0, [A4 + 0xA0]
00001D4C 4840 swap.w D0
00001D4E C1EC 00A2 muls.w D0, [A4 + 0xA2]
00001D52 48C0 ext.l D0
00001D54 D08C add.l D0, A4
00001D56 306C 00B4 movea.w A0, [A4 + 0xB4]
00001D5A D088 add.l D0, A0
00001D5C 0680 0000 00C4 addi.l D0, 0xC4
00001D62 2640 movea.l A3, D0
00001D64 302C 00B4 move.w D0, [A4 + 0xB4]
00001D68 B06C 00B0 cmp.w D0, [A4 + 0xB0]
00001D6C 6C3C bge +0x3E /* 00001DAA */
00001D6E 0C13 0020 cmpi.b [A3], 0x20 /* ' ' */
00001D72 672A beq +0x2C /* 00001D9E */
00001D74 302C 0032 move.w D0, [A4 + 0x32]
00001D78 3D40 FFFA move.w [A6 - 0x6], D0
00001D7C D06C 00BA add.w D0, [A4 + 0xBA]
00001D80 3D40 FFFE move.w [A6 - 0x2], D0
00001D84 302C 0030 move.w D0, [A4 + 0x30]
00001D88 D06C 00BE add.w D0, [A4 + 0xBE]
00001D8C 3D40 FFFC move.w [A6 - 0x4], D0
00001D90 906C 00B8 sub.w D0, [A4 + 0xB8]
00001D94 3D40 FFF8 move.w [A6 - 0x8], D0
00001D98 486E FFF8 pea.l [A6 - 0x8]
00001D9C A8A3 trap EraseRect
label00001D9E:
00001D9E 1687 move.b [A3], D7
00001DA0 1007 move.b D0, D7
00001DA2 4880 ext.w D0
00001DA4 3F00 move.w -[A7], D0
00001DA6 A883 trap DrawChar
00001DA8 6002 bra +0x4 /* 00001DAC */
label00001DAA:
00001DAA 1687 move.b [A3], D7
label00001DAC:
00001DAC 0C07 000A cmpi.b D7, 0xA /* '\n' */
00001DB0 6718 beq +0x1A /* 00001DCA */
00001DB2 526C 00B4 addq.w [A4 + 0xB4], 1
00001DB6 302C 00B4 move.w D0, [A4 + 0xB4]
00001DBA B06C 00A2 cmp.w D0, [A4 + 0xA2]
00001DBE 6D00 00DA blt +0xDC /* 00001E9A */
00001DC2 4A2C 00AC tst.b [A4 + 0xAC]
00001DC6 6600 00D2 bne +0xD4 /* 00001E9A */
label00001DCA:
00001DCA 4A2C 00AB tst.b [A4 + 0xAB]
00001DCE 6716 beq +0x18 /* 00001DE6 */
00001DD0 302C 00B2 move.w D0, [A4 + 0xB2]
00001DD4 5240 addq.w D0, 1
00001DD6 48C0 ext.l D0
00001DD8 81EC 00A0 divs.w D0, [A4 + 0xA0]
00001DDC 4840 swap.w D0
00001DDE 3940 00B2 move.w [A4 + 0xB2], D0
00001DE2 6000 0090 bra +0x92 /* 00001E74 */
label00001DE6:
00001DE6 302C 00A0 move.w D0, [A4 + 0xA0]
00001DEA 5340 subq.w D0, 1
00001DEC B06C 00B2 cmp.w D0, [A4 + 0xB2]
00001DF0 6E00 007E bgt +0x80 /* 00001E70 */
00001DF4 41EE FFF8 lea.l A0, [A6 - 0x8]
00001DF8 43EC 0010 lea.l A1, [A4 + 0x10]
00001DFC 20D9 move.l [A0]+, [A1]+
00001DFE 20D9 move.l [A0]+, [A1]+
00001E00 586E FFF8 addq.w [A6 - 0x8], 4
00001E04 586E FFFA addq.w [A6 - 0x6], 4
00001E08 066E FFF0 FFFE addi.w [A6 - 0x2], 0xFFF0
00001E0E 066E FFF0 FFFC addi.w [A6 - 0x4], 0xFFF0
00001E14 302C 00B8 move.w D0, [A4 + 0xB8]
00001E18 4440 neg.w D0
00001E1A 486E FFF8 pea.l [A6 - 0x8]
00001E1E 4267 clr.w -[A7]
00001E20 3F00 move.w -[A7], D0
00001E22 2F2D 9E2E move.l -[A7], [A5 - 0x61D2]
00001E26 A8EF trap ScrollRect
00001E28 302C 00B6 move.w D0, [A4 + 0xB6]
00001E2C 5240 addq.w D0, 1
00001E2E 48C0 ext.l D0
00001E30 81EC 00A0 divs.w D0, [A4 + 0xA0]
00001E34 4840 swap.w D0
00001E36 3940 00B6 move.w [A4 + 0xB6], D0
00001E3A 302C 00B6 move.w D0, [A4 + 0xB6]
00001E3E D06C 00A0 add.w D0, [A4 + 0xA0]
00001E42 5340 subq.w D0, 1
00001E44 48C0 ext.l D0
00001E46 81EC 00A0 divs.w D0, [A4 + 0xA0]
00001E4A 4840 swap.w D0
00001E4C C1EC 00A2 muls.w D0, [A4 + 0xA2]
00001E50 48C0 ext.l D0
00001E52 D08C add.l D0, A4
00001E54 0680 0000 00C3 addi.l D0, 0xC3
00001E5A 2440 movea.l A2, D0
00001E5C 3C2C 00A2 move.w D6, [A4 + 0xA2]
00001E60 6008 bra +0xA /* 00001E6A */
label00001E62:
00001E62 528A addq.l A2, 1
00001E64 7020 moveq.l D0, 0x20
00001E66 1480 move.b [A2], D0
00001E68 5346 subq.w D6, 1
label00001E6A:
00001E6A 4A46 tst.w D6
00001E6C 66F4 bne -0xA /* 00001E62 */
00001E6E 6004 bra +0x6 /* 00001E74 */
label00001E70:
00001E70 526C 00B2 addq.w [A4 + 0xB2], 1
label00001E74:
00001E74 426C 00B4 clr.w [A4 + 0xB4]
00001E78 302C 00BA move.w D0, [A4 + 0xBA]
00001E7C 302C 00B2 move.w D0, [A4 + 0xB2]
00001E80 D06C 00AE add.w D0, [A4 + 0xAE]
00001E84 906C 00A0 sub.w D0, [A4 + 0xA0]
00001E88 C1EC 00B8 muls.w D0, [A4 + 0xB8]
00001E8C D06C 00BC add.w D0, [A4 + 0xBC]
00001E90 3F3C 0004 move.w -[A7], 0x4
00001E94 5840 addq.w D0, 4
00001E96 3F00 move.w -[A7], D0
00001E98 A893 trap MoveTo
label00001E9A:
00001E9A 3F3C 0001 move.w -[A7], 0x1
00001E9E 2F0C move.l -[A7], A4
00001EA0 4EBA F0AE jsr [PC - 0xF52 /* 00000F50 */]
00001EA4 5C8F addq.l A7, 6
label00001EA6:
00001EA6 4CDF 1CC0 movem.l A4,A3,A2,D7,D6, [A7]+
00001EAA 4E5E unlink A6
00001EAC 4E75 rts
00001EAE 5055 addq.w [A5], 8
00001EB0 5443 addq.w D3, 2
00001EB2 4820 nbcd.b -[A0]
00001EB4 2020 move.l D0, -[A0]
fn00001EB6:
00001EB6 4E56 FFFE link A6, -0x0002
00001EBA 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001EBE 4EBA 012C jsr [PC + 0x12C /* 00001FEC */]
00001EC2 588F addq.l A7, 4
00001EC4 3D40 FFFE move.w [A6 - 0x2], D0
00001EC8 0C40 0002 cmpi.w D0, 0x2
00001ECC 6F06 ble +0x8 /* 00001ED4 */
00001ECE 202E 000C move.l D0, [A6 + 0xC]
00001ED2 6024 bra +0x26 /* 00001EF8 */
label00001ED4:
00001ED4 206E 000C movea.l A0, [A6 + 0xC]
00001ED8 52AE 000C addq.l [A6 + 0xC], 1
00001EDC 7030 moveq.l D0, 0x30
00001EDE 1080 move.b [A0], D0
00001EE0 0C6E 0001 FFFE cmpi.w [A6 - 0x2], 0x1
00001EE6 660C bne +0xE /* 00001EF4 */
00001EE8 206E 000C movea.l A0, [A6 + 0xC]
00001EEC 52AE 000C addq.l [A6 + 0xC], 1
00001EF0 7030 moveq.l D0, 0x30
00001EF2 1080 move.b [A0], D0
label00001EF4:
00001EF4 202E 000C move.l D0, [A6 + 0xC]
label00001EF8:
00001EF8 4E5E unlink A6
00001EFA 4E75 rts
00001EFC 4348 chk.w D1, A0
00001EFE 4543 chk.w D2, D3
00001F00 4B46 chk.w D5, D6
00001F02 4F52 chk.w D7, [A2]
fn00001F04:
00001F04 4E56 0000 link A6, 0
00001F08 48E7 0018 movem.l -[A7], A3,A4
00001F0C 286E 0008 movea.l A4, [A6 + 0x8]
00001F10 266D 9FEA movea.l A3, [A5 - 0x6016]
00001F14 0C14 0040 cmpi.b [A4], 0x40 /* '@' */
00001F18 6612 bne +0x14 /* 00001F2C */
00001F1A 528C addq.l A4, 1
00001F1C 600E bra +0x10 /* 00001F2C */
label00001F1E:
00001F1E 41D4 lea.l A0, [A4]
00001F20 528C addq.l A4, 1
00001F22 1010 move.b D0, [A0]
00001F24 4880 ext.w D0
00001F26 3F00 move.w -[A7], D0
00001F28 4E93 jsr [A3]
00001F2A 548F addq.l A7, 2
label00001F2C:
00001F2C 4A14 tst.b [A4]
00001F2E 66EE bne -0x10 /* 00001F1E */
00001F30 4CDF 1800 movem.l A4,A3, [A7]+
00001F34 4E5E unlink A6
00001F36 4E75 rts
00001F38 4455 neg.w [A5]
00001F3A 4D50 chk.w D6, [A0]
00001F3C 4255 clr.w [A5]
00001F3E 4646 not.w D6
fn00001F40:
00001F40 4E56 0000 link A6, 0
00001F44 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00001F48 286E 0008 movea.l A4, [A6 + 0x8]
00001F4C 1E2E 000D move.b D7, [A6 + 0xD]
00001F50 1C2E 000F move.b D6, [A6 + 0xF]
00001F54 3A2E 0010 move.w D5, [A6 + 0x10]
00001F58 266D 9FEA movea.l A3, [A5 - 0x6016]
00001F5C 2F0C move.l -[A7], A4
00001F5E 4EBA 008C jsr [PC + 0x8C /* 00001FEC */]
00001F62 588F addq.l A7, 4
00001F64 3800 move.w D4, D0
00001F66 B045 cmp.w D0, D5
00001F68 6C00 006A bge +0x6C /* 00001FD4 */
00001F6C 9A44 sub.w D5, D4
00001F6E 4A07 tst.b D7
00001F70 6600 0048 bne +0x4A /* 00001FBA */
00001F74 0C14 0020 cmpi.b [A4], 0x20 /* ' ' */
00001F78 6710 beq +0x12 /* 00001F8A */
00001F7A 0C14 002B cmpi.b [A4], 0x2B /* '+' */
00001F7E 6706 beq +0x8 /* 00001F86 */
00001F80 0C14 002D cmpi.b [A4], 0x2D /* '-' */
00001F84 6624 bne +0x26 /* 00001FAA */
label00001F86:
00001F86 4A06 tst.b D6
00001F88 6720 beq +0x22 /* 00001FAA */
label00001F8A:
00001F8A 1014 move.b D0, [A4]
00001F8C 4880 ext.w D0
00001F8E 3F00 move.w -[A7], D0
00001F90 4E93 jsr [A3]
00001F92 548F addq.l A7, 2
00001F94 7040 moveq.l D0, 0x40
00001F96 1880 move.b [A4], D0
00001F98 6010 bra +0x12 /* 00001FAA */
label00001F9A:
00001F9A 4A06 tst.b D6
00001F9C 6604 bne +0x6 /* 00001FA2 */
00001F9E 7020 moveq.l D0, 0x20
00001FA0 6002 bra +0x4 /* 00001FA4 */
label00001FA2:
00001FA2 7030 moveq.l D0, 0x30
label00001FA4:
00001FA4 3F00 move.w -[A7], D0
00001FA6 4E93 jsr [A3]
00001FA8 548F addq.l A7, 2
label00001FAA:
00001FAA 5345 subq.w D5, 1
00001FAC 4A45 tst.w D5
00001FAE 6CEA bge -0x14 /* 00001F9A */
00001FB0 2F0C move.l -[A7], A4
00001FB2 4EBA FF50 jsr [PC - 0xB0 /* 00001F04 */]
00001FB6 588F addq.l A7, 4
00001FB8 6022 bra +0x24 /* 00001FDC */
label00001FBA:
00001FBA 2F0C move.l -[A7], A4
00001FBC 4EBA FF46 jsr [PC - 0xBA /* 00001F04 */]
00001FC0 588F addq.l A7, 4
00001FC2 6008 bra +0xA /* 00001FCC */
label00001FC4:
00001FC4 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00001FC8 4E93 jsr [A3]
00001FCA 548F addq.l A7, 2
label00001FCC:
00001FCC 5345 subq.w D5, 1
00001FCE 4A45 tst.w D5
00001FD0 6CF2 bge -0xC /* 00001FC4 */
00001FD2 6008 bra +0xA /* 00001FDC */
label00001FD4:
00001FD4 2F0C move.l -[A7], A4
00001FD6 4EBA FF2C jsr [PC - 0xD4 /* 00001F04 */]
00001FDA 588F addq.l A7, 4
label00001FDC:
00001FDC 4CDF 18F0 movem.l A4,A3,D7,D6,D5,D4, [A7]+
00001FE0 4E5E unlink A6
00001FE2 4E75 rts
00001FE4 444F neg.w A7
00001FE6 5041 addq.w D1, 8
00001FE8 4444 neg.w D4
00001FEA 494E chk.w D4, A6
fn00001FEC:
00001FEC 4E56 0000 link A6, 0
00001FF0 48E7 0018 movem.l -[A7], A3,A4
00001FF4 286E 0008 movea.l A4, [A6 + 0x8]
00001FF8 264C movea.l A3, A4
00001FFA 6002 bra +0x4 /* 00001FFE */
label00001FFC:
00001FFC 528C addq.l A4, 1
label00001FFE:
00001FFE 4A14 tst.b [A4]
00002000 66FA bne -0x4 /* 00001FFC */
00002002 200C move.l D0, A4
00002004 908B sub.l D0, A3
00002006 4CDF 1800 movem.l A4,A3, [A7]+
0000200A 4E5E unlink A6
0000200C 4E75 rts
0000200E 4C45 4E4F movem.l A6,A3,A2,A1,D6,D3,D2,D1,D0, D5
00002012 4653 not.w [A3]
00002014 5452 addq.w [A2], 2
fn00002016:
00002016 4E56 0000 link A6, 0
0000201A 2F07 move.l -[A7], D7
0000201C 3E2E 000A move.w D7, [A6 + 0xA]
00002020 6016 bra +0x18 /* 00002038 */
label00002022:
00002022 4A2E 0009 tst.b [A6 + 0x9]
00002026 6604 bne +0x6 /* 0000202C */
00002028 7020 moveq.l D0, 0x20
0000202A 6002 bra +0x4 /* 0000202E */
label0000202C:
0000202C 7030 moveq.l D0, 0x30
label0000202E:
0000202E 3F00 move.w -[A7], D0
00002030 206D 9FEA movea.l A0, [A5 - 0x6016]
00002034 4E90 jsr [A0]
00002036 548F addq.l A7, 2
label00002038:
00002038 5347 subq.w D7, 1
0000203A 4A47 tst.w D7
0000203C 6CE4 bge -0x1A /* 00002022 */
0000203E 2E1F move.l D7, [A7]+
00002040 4E5E unlink A6
00002042 4E75 rts
00002044 5041 addq.w D1, 8
00002046 4444 neg.w D4
00002048 2020 move.l D0, -[A0]
0000204A 2020 move.l D0, -[A0]
fn0000204C:
0000204C 4E56 FFFC link A6, -0x0004
00002050 2F07 move.l -[A7], D7
00002052 306D A01E movea.w A0, [A5 - 0x5FE2]
00002056 2F08 move.l -[A7], A0
00002058 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000205C 4EAD 004A jsr [A5 + 0x4A]
00002060 2D40 FFFC move.l [A6 - 0x4], D0
00002064 4A80 tst.l D0
00002066 670A beq +0xC /* 00002072 */
00002068 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000206C 4EBA FFDE jsr [PC - 0x22 /* 0000204C */]
00002070 588F addq.l A7, 4
label00002072:
00002072 306D A01E movea.w A0, [A5 - 0x5FE2]
00002076 2F08 move.l -[A7], A0
00002078 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000207C 4EAD 0052 jsr [A5 + 0x52]
00002080 3E00 move.w D7, D0
00002082 0C47 000A cmpi.w D7, 0xA /* '\n' */
00002086 6C0A bge +0xC /* 00002092 */
00002088 3007 move.w D0, D7
0000208A 0640 0030 addi.w D0, 0x30 /* '0' */
0000208E 48C0 ext.l D0
00002090 6008 bra +0xA /* 0000209A */
label00002092:
00002092 102D A01C move.b D0, [A5 - 0x5FE4]
00002096 4880 ext.w D0
00002098 D047 add.w D0, D7
label0000209A:
0000209A 3F00 move.w -[A7], D0
0000209C 206D 9FEA movea.l A0, [A5 - 0x6016]
000020A0 4E90 jsr [A0]
000020A2 548F addq.l A7, 2
000020A4 2E1F move.l D7, [A7]+
000020A6 4E5E unlink A6
000020A8 4E75 rts
000020AA 4F55 chk.w D7, [A5]
000020AC 5450 addq.w [A0], 2
000020AE 5554 subq.w [A4], 2
000020B0 4E55 4E56 link A5, -0xFFFFB1AA
// begin alternate branch 000020B2-000020BA
fn000020B2:
000020B2 4E56 0000 link A6, 0
000020B6 48E7 0300 movem.l -[A7], D6,D7
// end alternate branch 000020B2-000020BA
fn000020B2: // (misaligned)
000020B4 0000 48E7 ori.b D0, 0xE7
000020B8 0300 btst D0, D1
000020BA 2E2E 0008 move.l D7, [A6 + 0x8]
000020BE 7C01 moveq.l D6, 0x01
000020C0 6002 bra +0x4 /* 000020C4 */
label000020C2:
000020C2 5246 addq.w D6, 1
label000020C4:
000020C4 306D A01E movea.w A0, [A5 - 0x5FE2]
000020C8 2F08 move.l -[A7], A0
000020CA 2F07 move.l -[A7], D7
000020CC 4EAD 004A jsr [A5 + 0x4A]
000020D0 2E00 move.l D7, D0
000020D2 4A80 tst.l D0
000020D4 66EC bne -0x12 /* 000020C2 */
000020D6 3006 move.w D0, D6
000020D8 4CDF 00C0 movem.l D7,D6, [A7]+
000020DC 4E5E unlink A6
000020DE 4E75 rts
000020E0 4C45 4E47 movem.l A6,A3,A2,A1,D6,D2,D1,D0, D5
000020E4 5448 addq.w A0, 2
000020E6 4F46 chk.w D7, D6
fn000020E8:
000020E8 4E56 FFE2 link A6, -0x001E
000020EC 1D6E 000D FFFC move.b [A6 - 0x4], [A6 + 0xD]
000020F2 3D6E 000E FFFE move.w [A6 - 0x2], [A6 + 0xE]
000020F8 486E FFFC pea.l [A6 - 0x4]
000020FC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002100 486E FFE2 pea.l [A6 - 0x1E]
00002104 3F3C 000B move.w -[A7], 0xB
00002108 A9EB trap Pack4/FP68K
0000210A 1D6E 000D FFFC move.b [A6 - 0x4], [A6 + 0xD]
00002110 3D6E 000E FFFE move.w [A6 - 0x2], [A6 + 0xE]
00002116 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000211A 486E FFE2 pea.l [A6 - 0x1E]
0000211E 2F2E 0010 move.l -[A7], [A6 + 0x10]
00002122 4EBA E27E jsr [PC - 0x1D82 /* 000003A2 */]
00002126 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000212A 4EBA E25C jsr [PC - 0x1DA4 /* 00000388 */]
0000212E 588F addq.l A7, 4
00002130 4E5E unlink A6
00002132 4E75 rts
00002134 4356 chk.w D1, [A6]
00002136 5446 addq.w D6, 2
00002138 3253 movea.w A1, [A3]
0000213A 5452 addq.w [A2], 2
fn0000213C:
0000213C 4E56 FDDC link A6, -0x0224
00002140 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00002144 246D 9FEA movea.l A2, [A5 - 0x6016]
00002148 486D 9FF0 pea.l [A5 - 0x6010]
0000214C 4EBA 0BD6 jsr [PC + 0xBD6 /* 00002D24 */]
00002150 588F addq.l A7, 4
00002152 4A40 tst.w D0
00002154 6706 beq +0x8 /* 0000215C */
00002156 70FF moveq.l D0, 0xFFFFFFFF
00002158 6000 0B00 bra +0xB02 /* 00002C5A */
label0000215C:
0000215C 426D 9FEE clr.w [A5 - 0x6012]
00002160 206E 0008 movea.l A0, [A6 + 0x8]
00002164 58AE 0008 addq.l [A6 + 0x8], 4
00002168 2850 movea.l A4, [A0]
0000216A 266E 0008 movea.l A3, [A6 + 0x8]
0000216E 4A2E 000D tst.b [A6 + 0xD]
00002172 6700 0AD0 beq +0xAD2 /* 00002C44 */
00002176 2653 movea.l A3, [A3]
00002178 6000 0ACA bra +0xACC /* 00002C44 */
label0000217C:
0000217C 0C07 0025 cmpi.b D7, 0x25 /* '%' */
00002180 6600 0AB8 bne +0xABA /* 00002C3A */
00002184 422E FFFF clr.b [A6 - 0x1]
00002188 422E FFFC clr.b [A6 - 0x4]
0000218C 422E FFFB clr.b [A6 - 0x5]
00002190 422E FFFA clr.b [A6 - 0x6]
00002194 422E FFF9 clr.b [A6 - 0x7]
00002198 422E FFF8 clr.b [A6 - 0x8]
label0000219C:
0000219C 41D4 lea.l A0, [A4]
0000219E 528C addq.l A4, 1
000021A0 1E10 move.b D7, [A0]
000021A2 1007 move.b D0, D7
000021A4 4880 ext.w D0
000021A6 4EAD 002A jsr [A5 + 0x2A]
000021AA 0006 001A ori.b D6, 0x1A
000021AE 002D 0022 0030 ori.b [A5 + 0x30], 0x22 /* '"' */
000021B4 002E 002B 0036 ori.b [A6 + 0x36], 0x2B /* '+' */
000021BA 0020 0042 ori.b -[A0], 0x42 /* 'B' */
000021BE 0023 0046 ori.b -[A3], 0x46 /* 'F' */
000021C2 002A 004A 7001 ori.b [A2 + 0x7001], 0x4A /* 'J' */
000021C8 1D40 FFFF move.b [A6 - 0x1], D0
000021CC 422E FFFC clr.b [A6 - 0x4]
000021D0 60CA bra -0x34 /* 0000219C */
000021D2 4A2E FFFF tst.b [A6 - 0x1]
000021D6 57C0 seq D0
000021D8 4400 neg.b D0
000021DA 4880 ext.w D0
000021DC 1D40 FFFC move.b [A6 - 0x4], D0
000021E0 60BA bra -0x44 /* 0000219C */
000021E2 7001 moveq.l D0, 0x01
000021E4 1D40 FFFB move.b [A6 - 0x5], D0
000021E8 422E FFFA clr.b [A6 - 0x6]
000021EC 60AE bra -0x50 /* 0000219C */
000021EE 4A2E FFFB tst.b [A6 - 0x5]
000021F2 57C0 seq D0
000021F4 4400 neg.b D0
000021F6 4880 ext.w D0
000021F8 1D40 FFFA move.b [A6 - 0x6], D0
000021FC 609E bra -0x60 /* 0000219C */
000021FE 7001 moveq.l D0, 0x01
00002200 1D40 FFF9 move.b [A6 - 0x7], D0
00002204 6096 bra -0x68 /* 0000219C */
00002206 3A13 move.w D5, [A3]
00002208 3805 move.w D4, D5
0000220A 548B addq.l A3, 2
0000220C 602A bra +0x2C /* 00002238 */
0000220E 538C subq.l A4, 1
00002210 2D4C FDDE move.l [A6 - 0x222], A4
00002214 0C14 0039 cmpi.b [A4], 0x39 /* '9' */
00002218 6E14 bgt +0x16 /* 0000222E */
0000221A 0C14 0030 cmpi.b [A4], 0x30 /* '0' */
0000221E 6D0E blt +0x10 /* 0000222E */
00002220 486E FDDE pea.l [A6 - 0x222]
00002224 4EBA 1F70 jsr [PC + 0x1F70 /* 00004196 */]
00002228 588F addq.l A7, 4
0000222A 48C0 ext.l D0
0000222C 6002 bra +0x4 /* 00002230 */
label0000222E:
0000222E 7000 moveq.l D0, 0x00
label00002230:
00002230 3A00 move.w D5, D0
00002232 3800 move.w D4, D0
00002234 286E FDDE movea.l A4, [A6 - 0x222]
label00002238:
00002238 7600 moveq.l D3, 0x00
0000223A 0C14 002E cmpi.b [A4], 0x2E /* '.' */
0000223E 57C0 seq D0
00002240 4400 neg.b D0
00002242 4880 ext.w D0
00002244 1D40 FFFE move.b [A6 - 0x2], D0
00002248 4A00 tst.b D0
0000224A 6724 beq +0x26 /* 00002270 */
0000224C 528C addq.l A4, 1
0000224E 0C14 002A cmpi.b [A4], 0x2A /* '*' */
00002252 6608 bne +0xA /* 0000225C */
00002254 3613 move.w D3, [A3]
00002256 548B addq.l A3, 2
00002258 528C addq.l A4, 1
0000225A 6014 bra +0x16 /* 00002270 */
label0000225C:
0000225C 2D4C FDDE move.l [A6 - 0x222], A4
00002260 486E FDDE pea.l [A6 - 0x222]
00002264 4EBA 1F30 jsr [PC + 0x1F30 /* 00004196 */]
00002268 588F addq.l A7, 4
0000226A 3600 move.w D3, D0
0000226C 286E FDDE movea.l A4, [A6 - 0x222]
label00002270:
00002270 0C14 0025 cmpi.b [A4], 0x25 /* '%' */
00002274 6640 bne +0x42 /* 000022B6 */
00002276 4A2E FFFF tst.b [A6 - 0x1]
0000227A 6718 beq +0x1A /* 00002294 */
0000227C 3F3C 0025 move.w -[A7], 0x25 /* '%' */
00002280 4E92 jsr [A2]
00002282 548F addq.l A7, 2
00002284 3005 move.w D0, D5
00002286 5340 subq.w D0, 1
00002288 3F00 move.w -[A7], D0
0000228A 4267 clr.w -[A7]
0000228C 4EBA FD88 jsr [PC - 0x278 /* 00002016 */]
00002290 588F addq.l A7, 4
00002292 601C bra +0x1E /* 000022B0 */
label00002294:
00002294 3005 move.w D0, D5
00002296 5340 subq.w D0, 1
00002298 3F00 move.w -[A7], D0
0000229A 102E FFFC move.b D0, [A6 - 0x4]
0000229E 4880 ext.w D0
000022A0 3F00 move.w -[A7], D0
000022A2 4EBA FD72 jsr [PC - 0x28E /* 00002016 */]
000022A6 588F addq.l A7, 4
000022A8 3F3C 0025 move.w -[A7], 0x25 /* '%' */
000022AC 4E92 jsr [A2]
000022AE 548F addq.l A7, 2
label000022B0:
000022B0 528C addq.l A4, 1
000022B2 6000 0990 bra +0x992 /* 00002C44 */
label000022B6:
000022B6 41D4 lea.l A0, [A4]
000022B8 528C addq.l A4, 1
000022BA 1E10 move.b D7, [A0]
000022BC 0C07 006C cmpi.b D7, 0x6C /* 'l' */
000022C0 57C0 seq D0
000022C2 4400 neg.b D0
000022C4 4880 ext.w D0
000022C6 1D40 FFFD move.b [A6 - 0x3], D0
000022CA 4A00 tst.b D0
000022CC 6706 beq +0x8 /* 000022D4 */
000022CE 41D4 lea.l A0, [A4]
000022D0 528C addq.l A4, 1
000022D2 1E10 move.b D7, [A0]
label000022D4:
000022D4 0C07 0068 cmpi.b D7, 0x68 /* 'h' */
000022D8 6606 bne +0x8 /* 000022E0 */
000022DA 41D4 lea.l A0, [A4]
000022DC 528C addq.l A4, 1
000022DE 1E10 move.b D7, [A0]
label000022E0:
000022E0 1007 move.b D0, D7
000022E2 4880 ext.w D0
000022E4 4EAD 002A jsr [A5 + 0x2A]
000022E8 000D 0036 ori.b A5, 0x36 /* '6' */
000022EC 0064 0070 ori.w -[A4], 0x70 /* 'p' */
000022F0 0075 0074 006F ori.w [A5 + D0.w + 0x6F], 0x74 /* 't' */
000022F6 0078 0078 007C ori.w [0x0000007C /* __m68k_vec_switch_via_scc__ */], 0x78 /* 'x' */
000022FC 0058 038A ori.w [A0]+, 0x38A
00002300 0063 03C2 ori.w -[A3], 0x3C2
00002304 0070 0442 0073 ori.w [A0 + D0.w + 0x73], 0x442
0000230A 04C0 subi.? D0, 0xFFFFFFFFFFFFFFFF
0000230C 0066 0594 ori.w -[A6], 0x594
00002310 0065 0590 ori.w -[A5], 0x590
00002314 0045 06A2 ori.w D5, 0x6A2
00002318 0067 069E ori.w -[A7], 0x69E
0000231C 0047 0918 ori.w D7, 0x918
00002320 4A2E FFFD tst.b [A6 - 0x3]
00002324 6714 beq +0x16 /* 0000233A */
00002326 2D53 FDDE move.l [A6 - 0x222], [A3]
0000232A 588B addq.l A3, 4
0000232C 2D6E FDDE FFF4 move.l [A6 - 0xC], [A6 - 0x222]
00002332 4AAE FDDE tst.l [A6 - 0x222]
00002336 6D16 blt +0x18 /* 0000234E */
00002338 6024 bra +0x26 /* 0000235E */
label0000233A:
0000233A 3D53 FDDC move.w [A6 - 0x224], [A3]
0000233E 548B addq.l A3, 2
00002340 306E FDDC movea.w A0, [A6 - 0x224]
00002344 2D48 FFF4 move.l [A6 - 0xC], A0
00002348 4A6E FDDC tst.w [A6 - 0x224]
0000234C 6C10 bge +0x12 /* 0000235E */
label0000234E:
0000234E 7001 moveq.l D0, 0x01
00002350 1D40 FFF8 move.b [A6 - 0x8], D0
00002354 202E FFF4 move.l D0, [A6 - 0xC]
00002358 4480 neg.l D0
0000235A 2D40 FFF4 move.l [A6 - 0xC], D0
label0000235E:
0000235E 700A moveq.l D0, 0x0A
00002360 3B40 A01E move.w [A5 - 0x5FE2], D0
00002364 601C bra +0x1E /* 00002382 */
00002366 7008 moveq.l D0, 0x08
00002368 3B40 A01E move.w [A5 - 0x5FE2], D0
0000236C 6014 bra +0x16 /* 00002382 */
0000236E 7057 moveq.l D0, 0x57
00002370 1B40 A01C move.b [A5 - 0x5FE4], D0
00002374 6006 bra +0x8 /* 0000237C */
00002376 7037 moveq.l D0, 0x37
00002378 1B40 A01C move.b [A5 - 0x5FE4], D0
label0000237C:
0000237C 7010 moveq.l D0, 0x10
0000237E 3B40 A01E move.w [A5 - 0x5FE2], D0
label00002382:
00002382 0C07 0064 cmpi.b D7, 0x64 /* 'd' */
00002386 6718 beq +0x1A /* 000023A0 */
00002388 4A2E FFFD tst.b [A6 - 0x3]
0000238C 6708 beq +0xA /* 00002396 */
0000238E 2D53 FFF4 move.l [A6 - 0xC], [A3]
00002392 588B addq.l A3, 4
00002394 600A bra +0xC /* 000023A0 */
label00002396:
00002396 7000 moveq.l D0, 0x00
00002398 3013 move.w D0, [A3]
0000239A 2D40 FFF4 move.l [A6 - 0xC], D0
0000239E 548B addq.l A3, 2
label000023A0:
000023A0 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000023A4 4EBA FD0C jsr [PC - 0x2F4 /* 000020B2 */]
000023A8 588F addq.l A7, 4
000023AA 3C00 move.w D6, D0
000023AC 4A2E FFFC tst.b [A6 - 0x4]
000023B0 6700 00C2 beq +0xC4 /* 00002474 */
000023B4 4A2E FFF8 tst.b [A6 - 0x8]
000023B8 660C bne +0xE /* 000023C6 */
000023BA 4A2E FFFB tst.b [A6 - 0x5]
000023BE 6606 bne +0x8 /* 000023C6 */
000023C0 4A2E FFFA tst.b [A6 - 0x6]
000023C4 672A beq +0x2C /* 000023F0 */
label000023C6:
000023C6 0C07 0064 cmpi.b D7, 0x64 /* 'd' */
000023CA 6624 bne +0x26 /* 000023F0 */
000023CC 4A2E FFF8 tst.b [A6 - 0x8]
000023D0 670A beq +0xC /* 000023DC */
000023D2 3F3C 002D move.w -[A7], 0x2D /* '-' */
000023D6 4E92 jsr [A2]
000023D8 548F addq.l A7, 2
000023DA 6012 bra +0x14 /* 000023EE */
label000023DC:
000023DC 4A2E FFFB tst.b [A6 - 0x5]
000023E0 6604 bne +0x6 /* 000023E6 */
000023E2 7020 moveq.l D0, 0x20
000023E4 6002 bra +0x4 /* 000023E8 */
label000023E6:
000023E6 702B moveq.l D0, 0x2B
label000023E8:
000023E8 3F00 move.w -[A7], D0
000023EA 4E92 jsr [A2]
000023EC 548F addq.l A7, 2
label000023EE:
000023EE 5344 subq.w D4, 1
label000023F0:
000023F0 0C07 006F cmpi.b D7, 0x6F /* 'o' */
000023F4 670C beq +0xE /* 00002402 */
000023F6 0C07 0058 cmpi.b D7, 0x58 /* 'X' */
000023FA 6706 beq +0x8 /* 00002402 */
000023FC 0C07 0078 cmpi.b D7, 0x78 /* 'x' */
00002400 6630 bne +0x32 /* 00002432 */
label00002402:
00002402 4A2E FFF9 tst.b [A6 - 0x7]
00002406 672A beq +0x2C /* 00002432 */
00002408 3F3C 0030 move.w -[A7], 0x30 /* '0' */
0000240C 4E92 jsr [A2]
0000240E 548F addq.l A7, 2
00002410 5344 subq.w D4, 1
00002412 0C07 0058 cmpi.b D7, 0x58 /* 'X' */
00002416 660A bne +0xC /* 00002422 */
00002418 3F3C 0058 move.w -[A7], 0x58 /* 'X' */
0000241C 4E92 jsr [A2]
0000241E 548F addq.l A7, 2
00002420 5344 subq.w D4, 1
label00002422:
00002422 0C07 0078 cmpi.b D7, 0x78 /* 'x' */
00002426 660A bne +0xC /* 00002432 */
00002428 3F3C 0078 move.w -[A7], 0x78 /* 'x' */
0000242C 4E92 jsr [A2]
0000242E 548F addq.l A7, 2
00002430 5344 subq.w D4, 1
label00002432:
00002432 BC43 cmp.w D6, D3
00002434 6F06 ble +0x8 /* 0000243C */
00002436 3046 movea.w A0, D6
00002438 2008 move.l D0, A0
0000243A 6002 bra +0x4 /* 0000243E */
label0000243C:
0000243C 3003 move.w D0, D3
label0000243E:
0000243E 3204 move.w D1, D4
00002440 9240 sub.w D1, D0
00002442 3F01 move.w -[A7], D1
00002444 102E FFFC move.b D0, [A6 - 0x4]
00002448 4880 ext.w D0
0000244A 3F00 move.w -[A7], D0
0000244C 4EBA FBC8 jsr [PC - 0x438 /* 00002016 */]
00002450 588F addq.l A7, 4
00002452 B646 cmp.w D3, D6
00002454 6F14 ble +0x16 /* 0000246A */
00002456 3003 move.w D0, D3
00002458 9046 sub.w D0, D6
0000245A 3F00 move.w -[A7], D0
0000245C 102E FFFC move.b D0, [A6 - 0x4]
00002460 4880 ext.w D0
00002462 3F00 move.w -[A7], D0
00002464 4EBA FBB0 jsr [PC - 0x450 /* 00002016 */]
00002468 588F addq.l A7, 4
label0000246A:
0000246A 2F2E FFF4 move.l -[A7], [A6 - 0xC]
0000246E 4EBA FBDC jsr [PC - 0x424 /* 0000204C */]
00002472 588F addq.l A7, 4
label00002474:
00002474 4A2E FFFF tst.b [A6 - 0x1]
00002478 6700 00B0 beq +0xB2 /* 0000252A */
0000247C 0C07 0064 cmpi.b D7, 0x64 /* 'd' */
00002480 6632 bne +0x34 /* 000024B4 */
00002482 4A2E FFF8 tst.b [A6 - 0x8]
00002486 670C beq +0xE /* 00002494 */
00002488 3F3C 002D move.w -[A7], 0x2D /* '-' */
0000248C 4E92 jsr [A2]
0000248E 548F addq.l A7, 2
00002490 5344 subq.w D4, 1
00002492 6020 bra +0x22 /* 000024B4 */
label00002494:
00002494 4A2E FFFB tst.b [A6 - 0x5]
00002498 6606 bne +0x8 /* 000024A0 */
0000249A 4A2E FFFA tst.b [A6 - 0x6]
0000249E 6714 beq +0x16 /* 000024B4 */
label000024A0:
000024A0 4A2E FFFB tst.b [A6 - 0x5]
000024A4 6604 bne +0x6 /* 000024AA */
000024A6 7020 moveq.l D0, 0x20
000024A8 6002 bra +0x4 /* 000024AC */
label000024AA:
000024AA 702B moveq.l D0, 0x2B
label000024AC:
000024AC 3F00 move.w -[A7], D0
000024AE 4E92 jsr [A2]
000024B0 548F addq.l A7, 2
000024B2 5344 subq.w D4, 1
label000024B4:
000024B4 0C07 006F cmpi.b D7, 0x6F /* 'o' */
000024B8 670C beq +0xE /* 000024C6 */
000024BA 0C07 0058 cmpi.b D7, 0x58 /* 'X' */
000024BE 6706 beq +0x8 /* 000024C6 */
000024C0 0C07 0078 cmpi.b D7, 0x78 /* 'x' */
000024C4 6630 bne +0x32 /* 000024F6 */
label000024C6:
000024C6 4A2E FFF9 tst.b [A6 - 0x7]
000024CA 672A beq +0x2C /* 000024F6 */
000024CC 3F3C 0030 move.w -[A7], 0x30 /* '0' */
000024D0 4E92 jsr [A2]
000024D2 548F addq.l A7, 2
000024D4 5344 subq.w D4, 1
000024D6 0C07 0058 cmpi.b D7, 0x58 /* 'X' */
000024DA 660A bne +0xC /* 000024E6 */
000024DC 3F3C 0058 move.w -[A7], 0x58 /* 'X' */
000024E0 4E92 jsr [A2]
000024E2 548F addq.l A7, 2
000024E4 5344 subq.w D4, 1
label000024E6:
000024E6 0C07 0078 cmpi.b D7, 0x78 /* 'x' */
000024EA 660A bne +0xC /* 000024F6 */
000024EC 3F3C 0078 move.w -[A7], 0x78 /* 'x' */
000024F0 4E92 jsr [A2]
000024F2 548F addq.l A7, 2
000024F4 5344 subq.w D4, 1
label000024F6:
000024F6 3003 move.w D0, D3
000024F8 9046 sub.w D0, D6
000024FA 3F00 move.w -[A7], D0
000024FC 3F3C 0001 move.w -[A7], 0x1
00002500 4EBA FB14 jsr [PC - 0x4EC /* 00002016 */]
00002504 588F addq.l A7, 4
00002506 3003 move.w D0, D3
00002508 9046 sub.w D0, D6
0000250A 4A40 tst.w D0
0000250C 6F06 ble +0x8 /* 00002514 */
0000250E 3003 move.w D0, D3
00002510 9046 sub.w D0, D6
00002512 9840 sub.w D4, D0
label00002514:
00002514 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002518 4EBA FB32 jsr [PC - 0x4CE /* 0000204C */]
0000251C 588F addq.l A7, 4
0000251E 9846 sub.w D4, D6
00002520 3F04 move.w -[A7], D4
00002522 4267 clr.w -[A7]
00002524 4EBA FAF0 jsr [PC - 0x510 /* 00002016 */]
00002528 588F addq.l A7, 4
label0000252A:
0000252A 4A2E FFFC tst.b [A6 - 0x4]
0000252E 6600 0714 bne +0x716 /* 00002C44 */
00002532 4A2E FFFF tst.b [A6 - 0x1]
00002536 6600 070C bne +0x70E /* 00002C44 */
0000253A 4A2E FFF8 tst.b [A6 - 0x8]
0000253E 660E bne +0x10 /* 0000254E */
00002540 4A2E FFFA tst.b [A6 - 0x6]
00002544 6608 bne +0xA /* 0000254E */
00002546 4A2E FFFB tst.b [A6 - 0x5]
0000254A 6700 006C beq +0x6E /* 000025B8 */
label0000254E:
0000254E 0C07 0064 cmpi.b D7, 0x64 /* 'd' */
00002552 6600 0064 bne +0x66 /* 000025B8 */
00002556 BC43 cmp.w D6, D3
00002558 6F06 ble +0x8 /* 00002560 */
0000255A 3046 movea.w A0, D6
0000255C 2008 move.l D0, A0
0000255E 6002 bra +0x4 /* 00002562 */
label00002560:
00002560 3003 move.w D0, D3
label00002562:
00002562 3205 move.w D1, D5
00002564 9240 sub.w D1, D0
00002566 5341 subq.w D1, 1
00002568 3F01 move.w -[A7], D1
0000256A 102E FFFC move.b D0, [A6 - 0x4]
0000256E 4880 ext.w D0
00002570 3F00 move.w -[A7], D0
00002572 4EBA FAA2 jsr [PC - 0x55E /* 00002016 */]
00002576 588F addq.l A7, 4
00002578 4A2E FFF8 tst.b [A6 - 0x8]
0000257C 670A beq +0xC /* 00002588 */
0000257E 3F3C 002D move.w -[A7], 0x2D /* '-' */
00002582 4E92 jsr [A2]
00002584 548F addq.l A7, 2
00002586 6012 bra +0x14 /* 0000259A */
label00002588:
00002588 4A2E FFFB tst.b [A6 - 0x5]
0000258C 6604 bne +0x6 /* 00002592 */
0000258E 7020 moveq.l D0, 0x20
00002590 6002 bra +0x4 /* 00002594 */
label00002592:
00002592 702B moveq.l D0, 0x2B
label00002594:
00002594 3F00 move.w -[A7], D0
00002596 4E92 jsr [A2]
00002598 548F addq.l A7, 2
label0000259A:
0000259A 3003 move.w D0, D3
0000259C 9046 sub.w D0, D6
0000259E 3F00 move.w -[A7], D0
000025A0 3F3C 0001 move.w -[A7], 0x1
000025A4 4EBA FA70 jsr [PC - 0x590 /* 00002016 */]
000025A8 588F addq.l A7, 4
000025AA 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000025AE 4EBA FA9C jsr [PC - 0x564 /* 0000204C */]
000025B2 588F addq.l A7, 4
000025B4 6000 068E bra +0x690 /* 00002C44 */
label000025B8:
000025B8 4A2E FFF9 tst.b [A6 - 0x7]
000025BC 6700 0084 beq +0x86 /* 00002642 */
000025C0 0C07 006F cmpi.b D7, 0x6F /* 'o' */
000025C4 670E beq +0x10 /* 000025D4 */
000025C6 0C07 0058 cmpi.b D7, 0x58 /* 'X' */
000025CA 6708 beq +0xA /* 000025D4 */
000025CC 0C07 0078 cmpi.b D7, 0x78 /* 'x' */
000025D0 6600 0070 bne +0x72 /* 00002642 */
label000025D4:
000025D4 7802 moveq.l D4, 0x02
000025D6 0C07 006F cmpi.b D7, 0x6F /* 'o' */
000025DA 6602 bne +0x4 /* 000025DE */
000025DC 7801 moveq.l D4, 0x01
label000025DE:
000025DE BC43 cmp.w D6, D3
000025E0 6F06 ble +0x8 /* 000025E8 */
000025E2 3046 movea.w A0, D6
000025E4 2008 move.l D0, A0
000025E6 6002 bra +0x4 /* 000025EA */
label000025E8:
000025E8 3003 move.w D0, D3
label000025EA:
000025EA 3205 move.w D1, D5
000025EC 9240 sub.w D1, D0
000025EE 9244 sub.w D1, D4
000025F0 3F01 move.w -[A7], D1
000025F2 102E FFFC move.b D0, [A6 - 0x4]
000025F6 4880 ext.w D0
000025F8 3F00 move.w -[A7], D0
000025FA 4EBA FA1A jsr [PC - 0x5E6 /* 00002016 */]
000025FE 588F addq.l A7, 4
00002600 3F3C 0030 move.w -[A7], 0x30 /* '0' */
00002604 4E92 jsr [A2]
00002606 548F addq.l A7, 2
00002608 0C07 0058 cmpi.b D7, 0x58 /* 'X' */
0000260C 6608 bne +0xA /* 00002616 */
0000260E 3F3C 0058 move.w -[A7], 0x58 /* 'X' */
00002612 4E92 jsr [A2]
00002614 548F addq.l A7, 2
label00002616:
00002616 0C07 0078 cmpi.b D7, 0x78 /* 'x' */
0000261A 6608 bne +0xA /* 00002624 */
0000261C 3F3C 0078 move.w -[A7], 0x78 /* 'x' */
00002620 4E92 jsr [A2]
00002622 548F addq.l A7, 2
label00002624:
00002624 3003 move.w D0, D3
00002626 9046 sub.w D0, D6
00002628 3F00 move.w -[A7], D0
0000262A 3F3C 0001 move.w -[A7], 0x1
0000262E 4EBA F9E6 jsr [PC - 0x61A /* 00002016 */]
00002632 588F addq.l A7, 4
00002634 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002638 4EBA FA12 jsr [PC - 0x5EE /* 0000204C */]
0000263C 588F addq.l A7, 4
0000263E 6000 0604 bra +0x606 /* 00002C44 */
label00002642:
00002642 B646 cmp.w D3, D6
00002644 6F06 ble +0x8 /* 0000264C */
00002646 3043 movea.w A0, D3
00002648 2008 move.l D0, A0
0000264A 6002 bra +0x4 /* 0000264E */
label0000264C:
0000264C 3006 move.w D0, D6
label0000264E:
0000264E 3205 move.w D1, D5
00002650 9240 sub.w D1, D0
00002652 3F01 move.w -[A7], D1
00002654 102E FFFC move.b D0, [A6 - 0x4]
00002658 4880 ext.w D0
0000265A 3F00 move.w -[A7], D0
0000265C 4EBA F9B8 jsr [PC - 0x648 /* 00002016 */]
00002660 588F addq.l A7, 4
00002662 4A2E FFFC tst.b [A6 - 0x4]
00002666 57C0 seq D0
00002668 4400 neg.b D0
0000266A 4880 ext.w D0
0000266C 3203 move.w D1, D3
0000266E 9246 sub.w D1, D6
00002670 3F01 move.w -[A7], D1
00002672 3F00 move.w -[A7], D0
00002674 4EBA F9A0 jsr [PC - 0x660 /* 00002016 */]
00002678 588F addq.l A7, 4
0000267A 2F2E FFF4 move.l -[A7], [A6 - 0xC]
0000267E 4EBA F9CC jsr [PC - 0x634 /* 0000204C */]
00002682 588F addq.l A7, 4
00002684 6000 05BE bra +0x5C0 /* 00002C44 */
00002688 4A2E FFFF tst.b [A6 - 0x1]
0000268C 6716 beq +0x18 /* 000026A4 */
0000268E 3F13 move.w -[A7], [A3]
00002690 4E92 jsr [A2]
00002692 548F addq.l A7, 2
00002694 3005 move.w D0, D5
00002696 5340 subq.w D0, 1
00002698 3F00 move.w -[A7], D0
0000269A 4267 clr.w -[A7]
0000269C 4EBA F978 jsr [PC - 0x688 /* 00002016 */]
000026A0 588F addq.l A7, 4
000026A2 601A bra +0x1C /* 000026BE */
label000026A4:
000026A4 3005 move.w D0, D5
000026A6 5340 subq.w D0, 1
000026A8 3F00 move.w -[A7], D0
000026AA 102E FFFC move.b D0, [A6 - 0x4]
000026AE 4880 ext.w D0
000026B0 3F00 move.w -[A7], D0
000026B2 4EBA F962 jsr [PC - 0x69E /* 00002016 */]
000026B6 588F addq.l A7, 4
000026B8 3F13 move.w -[A7], [A3]
000026BA 4E92 jsr [A2]
000026BC 548F addq.l A7, 2
label000026BE:
000026BE 548B addq.l A3, 2
000026C0 6000 0582 bra +0x584 /* 00002C44 */
000026C4 2D53 FDDE move.l [A6 - 0x222], [A3]
000026C8 206E FDDE movea.l A0, [A6 - 0x222]
000026CC 52AE FDDE addq.l [A6 - 0x222], 1
000026D0 1010 move.b D0, [A0]
000026D2 4880 ext.w D0
000026D4 3C00 move.w D6, D0
000026D6 588B addq.l A3, 4
000026D8 4A2E FFFE tst.b [A6 - 0x2]
000026DC 6706 beq +0x8 /* 000026E4 */
000026DE BC43 cmp.w D6, D3
000026E0 6F02 ble +0x4 /* 000026E4 */
000026E2 3C03 move.w D6, D3
label000026E4:
000026E4 9A46 sub.w D5, D6
000026E6 4A45 tst.w D5
000026E8 6C02 bge +0x4 /* 000026EC */
000026EA 7A00 moveq.l D5, 0x00
label000026EC:
000026EC 4A2E FFFF tst.b [A6 - 0x1]
000026F0 6614 bne +0x16 /* 00002706 */
000026F2 6026 bra +0x28 /* 0000271A */
label000026F4:
000026F4 206E FDDE movea.l A0, [A6 - 0x222]
000026F8 52AE FDDE addq.l [A6 - 0x222], 1
000026FC 1010 move.b D0, [A0]
000026FE 4880 ext.w D0
00002700 3F00 move.w -[A7], D0
00002702 4E92 jsr [A2]
00002704 548F addq.l A7, 2
label00002706:
00002706 5346 subq.w D6, 1
00002708 4A46 tst.w D6
0000270A 6CE8 bge -0x16 /* 000026F4 */
0000270C 3F05 move.w -[A7], D5
0000270E 4267 clr.w -[A7]
00002710 4EBA F904 jsr [PC - 0x6FC /* 00002016 */]
00002714 588F addq.l A7, 4
00002716 6000 052C bra +0x52E /* 00002C44 */
label0000271A:
0000271A 3F05 move.w -[A7], D5
0000271C 102E FFFC move.b D0, [A6 - 0x4]
00002720 4880 ext.w D0
00002722 3F00 move.w -[A7], D0
00002724 4EBA F8F0 jsr [PC - 0x710 /* 00002016 */]
00002728 588F addq.l A7, 4
0000272A 6012 bra +0x14 /* 0000273E */
label0000272C:
0000272C 206E FDDE movea.l A0, [A6 - 0x222]
00002730 52AE FDDE addq.l [A6 - 0x222], 1
00002734 1010 move.b D0, [A0]
00002736 4880 ext.w D0
00002738 3F00 move.w -[A7], D0
0000273A 4E92 jsr [A2]
0000273C 548F addq.l A7, 2
label0000273E:
0000273E 5346 subq.w D6, 1
00002740 4A46 tst.w D6
00002742 6CE8 bge -0x16 /* 0000272C */
00002744 6000 04FE bra +0x500 /* 00002C44 */
00002748 2013 move.l D0, [A3]
0000274A 2D40 FDDE move.l [A6 - 0x222], D0
0000274E 2F00 move.l -[A7], D0
00002750 4EBA F89A jsr [PC - 0x766 /* 00001FEC */]
00002754 588F addq.l A7, 4
00002756 3C00 move.w D6, D0
00002758 588B addq.l A3, 4
0000275A 4A2E FFFE tst.b [A6 - 0x2]
0000275E 6706 beq +0x8 /* 00002766 */
00002760 BC43 cmp.w D6, D3
00002762 6F02 ble +0x4 /* 00002766 */
00002764 3C03 move.w D6, D3
label00002766:
00002766 9A46 sub.w D5, D6
00002768 4A45 tst.w D5
0000276A 6C02 bge +0x4 /* 0000276E */
0000276C 7A00 moveq.l D5, 0x00
label0000276E:
0000276E 4A2E FFFF tst.b [A6 - 0x1]
00002772 6614 bne +0x16 /* 00002788 */
00002774 6026 bra +0x28 /* 0000279C */
label00002776:
00002776 206E FDDE movea.l A0, [A6 - 0x222]
0000277A 52AE FDDE addq.l [A6 - 0x222], 1
0000277E 1010 move.b D0, [A0]
00002780 4880 ext.w D0
00002782 3F00 move.w -[A7], D0
00002784 4E92 jsr [A2]
00002786 548F addq.l A7, 2
label00002788:
00002788 5346 subq.w D6, 1
0000278A 4A46 tst.w D6
0000278C 6CE8 bge -0x16 /* 00002776 */
0000278E 3F05 move.w -[A7], D5
00002790 4267 clr.w -[A7]
00002792 4EBA F882 jsr [PC - 0x77E /* 00002016 */]
00002796 588F addq.l A7, 4
00002798 6000 04AA bra +0x4AC /* 00002C44 */
label0000279C:
0000279C 3F05 move.w -[A7], D5
0000279E 102E FFFC move.b D0, [A6 - 0x4]
000027A2 4880 ext.w D0
000027A4 3F00 move.w -[A7], D0
000027A6 4EBA F86E jsr [PC - 0x792 /* 00002016 */]
000027AA 588F addq.l A7, 4
000027AC 6012 bra +0x14 /* 000027C0 */
label000027AE:
000027AE 206E FDDE movea.l A0, [A6 - 0x222]
000027B2 52AE FDDE addq.l [A6 - 0x222], 1
000027B6 1010 move.b D0, [A0]
000027B8 4880 ext.w D0
000027BA 3F00 move.w -[A7], D0
000027BC 4E92 jsr [A2]
000027BE 548F addq.l A7, 2
label000027C0:
000027C0 5346 subq.w D6, 1
000027C2 4A46 tst.w D6
000027C4 6CE8 bge -0x16 /* 000027AE */
000027C6 6000 047C bra +0x47E /* 00002C44 */
000027CA 41EE FFEA lea.l A0, [A6 - 0x16]
000027CE 43D3 lea.l A1, [A3]
000027D0 20D9 move.l [A0]+, [A1]+
000027D2 20D9 move.l [A0]+, [A1]+
000027D4 30D9 move.w [A0]+, [A1]+
000027D6 47EB 000A lea.l A3, [A3 + 0xA]
000027DA 4A2E FFFE tst.b [A6 - 0x2]
000027DE 6602 bne +0x4 /* 000027E2 */
000027E0 7606 moveq.l D3, 0x06
label000027E2:
000027E2 486E FEEA pea.l [A6 - 0x116]
000027E6 3F03 move.w -[A7], D3
000027E8 3F3C 0001 move.w -[A7], 0x1
000027EC 486E FFEA pea.l [A6 - 0x16]
000027F0 4EBA F8F6 jsr [PC - 0x70A /* 000020E8 */]
000027F4 4FEF 000C lea.l A7, [A7 + 0xC]
000027F8 2D40 FDE6 move.l [A6 - 0x21A], D0
label000027FC:
000027FC 41EE FDEA lea.l A0, [A6 - 0x216]
00002800 2D48 FDE2 move.l [A6 - 0x21E], A0
00002804 3D7C 0000 FDE0 move.w [A6 - 0x220], 0x0
0000280A 486E FDE0 pea.l [A6 - 0x220]
0000280E 486E FFEA pea.l [A6 - 0x16]
00002812 3F3C 200A move.w -[A7], 0x200A /* ' \n' */
00002816 A9EB trap Pack4/FP68K
00002818 6D3C blt +0x3E /* 00002856 */
0000281A 4A2E FFFA tst.b [A6 - 0x6]
0000281E 6606 bne +0x8 /* 00002826 */
00002820 4A2E FFFB tst.b [A6 - 0x5]
00002824 6730 beq +0x32 /* 00002856 */
label00002826:
00002826 206E FDE2 movea.l A0, [A6 - 0x21E]
0000282A 52AE FDE2 addq.l [A6 - 0x21E], 1
0000282E 4A2E FFFB tst.b [A6 - 0x5]
00002832 6706 beq +0x8 /* 0000283A */
00002834 48E7 0080 movem.l -[A7], A0
00002838 6008 bra +0xA /* 00002842 */
label0000283A:
0000283A 48E7 0080 movem.l -[A7], A0
0000283E 7020 moveq.l D0, 0x20
00002840 6002 bra +0x4 /* 00002844 */
label00002842:
00002842 702B moveq.l D0, 0x2B
label00002844:
00002844 4CDF 0100 movem.l A0, [A7]+
00002848 1080 move.b [A0], D0
0000284A 600A bra +0xC /* 00002856 */
label0000284C:
0000284C 206E FDE2 movea.l A0, [A6 - 0x21E]
00002850 52AE FDE2 addq.l [A6 - 0x21E], 1
00002854 1087 move.b [A0], D7
label00002856:
00002856 206E FDE6 movea.l A0, [A6 - 0x21A]
0000285A 52AE FDE6 addq.l [A6 - 0x21A], 1
0000285E 1E10 move.b D7, [A0]
00002860 4A07 tst.b D7
00002862 66E8 bne -0x16 /* 0000284C */
00002864 4A2E FFF9 tst.b [A6 - 0x7]
00002868 6710 beq +0x12 /* 0000287A */
0000286A 4A43 tst.w D3
0000286C 660C bne +0xE /* 0000287A */
0000286E 206E FDE2 movea.l A0, [A6 - 0x21E]
00002872 52AE FDE2 addq.l [A6 - 0x21E], 1
00002876 702E moveq.l D0, 0x2E
00002878 1080 move.b [A0], D0
label0000287A:
0000287A 206E FDE2 movea.l A0, [A6 - 0x21E]
0000287E 4210 clr.b [A0]
00002880 3F05 move.w -[A7], D5
00002882 102E FFFC move.b D0, [A6 - 0x4]
00002886 4880 ext.w D0
00002888 3F00 move.w -[A7], D0
0000288A 102E FFFF move.b D0, [A6 - 0x1]
0000288E 4880 ext.w D0
00002890 3F00 move.w -[A7], D0
00002892 486E FDEA pea.l [A6 - 0x216]
00002896 4EBA F6A8 jsr [PC - 0x958 /* 00001F40 */]
0000289A 4FEF 000A lea.l A7, [A7 + 0xA]
0000289E 6000 03A4 bra +0x3A6 /* 00002C44 */
000028A2 41EE FFEA lea.l A0, [A6 - 0x16]
000028A6 43D3 lea.l A1, [A3]
000028A8 20D9 move.l [A0]+, [A1]+
000028AA 20D9 move.l [A0]+, [A1]+
000028AC 30D9 move.w [A0]+, [A1]+
000028AE 47EB 000A lea.l A3, [A3 + 0xA]
000028B2 4A2E FFFE tst.b [A6 - 0x2]
000028B6 6602 bne +0x4 /* 000028BA */
000028B8 7606 moveq.l D3, 0x06
label000028BA:
000028BA 486E FEEA pea.l [A6 - 0x116]
000028BE 3003 move.w D0, D3
000028C0 5240 addq.w D0, 1
000028C2 3F00 move.w -[A7], D0
000028C4 4267 clr.w -[A7]
000028C6 486E FFEA pea.l [A6 - 0x16]
000028CA 4EBA F81C jsr [PC - 0x7E4 /* 000020E8 */]
000028CE 4FEF 000C lea.l A7, [A7 + 0xC]
000028D2 2D40 FDE6 move.l [A6 - 0x21A], D0
label000028D6:
000028D6 41EE FDEA lea.l A0, [A6 - 0x216]
000028DA 2D48 FDE2 move.l [A6 - 0x21E], A0
000028DE 3D7C 0000 FDE0 move.w [A6 - 0x220], 0x0
000028E4 486E FDE0 pea.l [A6 - 0x220]
000028E8 486E FFEA pea.l [A6 - 0x16]
000028EC 3F3C 200A move.w -[A7], 0x200A /* ' \n' */
000028F0 A9EB trap Pack4/FP68K
000028F2 6D0E blt +0x10 /* 00002902 */
000028F4 4A2E FFFB tst.b [A6 - 0x5]
000028F8 6708 beq +0xA /* 00002902 */
000028FA 206E FDE6 movea.l A0, [A6 - 0x21A]
000028FE 702B moveq.l D0, 0x2B
00002900 1080 move.b [A0], D0
label00002902:
00002902 4A2E FFFA tst.b [A6 - 0x6]
00002906 6600 0080 bne +0x82 /* 00002988 */
0000290A 206E FDE6 movea.l A0, [A6 - 0x21A]
0000290E 0C10 0020 cmpi.b [A0], 0x20 /* ' ' */
00002912 6600 0074 bne +0x76 /* 00002988 */
00002916 52AE FDE6 addq.l [A6 - 0x21A], 1
0000291A 6000 006C bra +0x6E /* 00002988 */
label0000291E:
0000291E 206E FDE6 movea.l A0, [A6 - 0x21A]
00002922 0C10 0065 cmpi.b [A0], 0x65 /* 'e' */
00002926 6622 bne +0x24 /* 0000294A */
00002928 7001 moveq.l D0, 0x01
0000292A 1D40 FFF8 move.b [A6 - 0x8], D0
0000292E 206E FDE6 movea.l A0, [A6 - 0x21A]
00002932 1087 move.b [A0], D7
00002934 4A2E FFF9 tst.b [A6 - 0x7]
00002938 6710 beq +0x12 /* 0000294A */
0000293A 4A43 tst.w D3
0000293C 660C bne +0xE /* 0000294A */
0000293E 206E FDE2 movea.l A0, [A6 - 0x21E]
00002942 52AE FDE2 addq.l [A6 - 0x21E], 1
00002946 702E moveq.l D0, 0x2E
00002948 1080 move.b [A0], D0
label0000294A:
0000294A 206E FDE6 movea.l A0, [A6 - 0x21A]
0000294E BE28 FFFE cmp.b D7, [A0 - 0x2]
00002952 6618 bne +0x1A /* 0000296C */
00002954 4A2E FFF8 tst.b [A6 - 0x8]
00002958 6712 beq +0x14 /* 0000296C */
0000295A 2F2E FDE2 move.l -[A7], [A6 - 0x21E]
0000295E 2F2E FDE6 move.l -[A7], [A6 - 0x21A]
00002962 4EBA F552 jsr [PC - 0xAAE /* 00001EB6 */]
00002966 508F addq.l A7, 8
00002968 2D40 FDE2 move.l [A6 - 0x21E], D0
label0000296C:
0000296C 206E FDE6 movea.l A0, [A6 - 0x21A]
00002970 0C10 0040 cmpi.b [A0], 0x40 /* '@' */
00002974 6712 beq +0x14 /* 00002988 */
00002976 206E FDE2 movea.l A0, [A6 - 0x21E]
0000297A 52AE FDE2 addq.l [A6 - 0x21E], 1
0000297E 226E FDE6 movea.l A1, [A6 - 0x21A]
00002982 52AE FDE6 addq.l [A6 - 0x21A], 1
00002986 1091 move.b [A0], [A1]
label00002988:
00002988 206E FDE6 movea.l A0, [A6 - 0x21A]
0000298C 4A10 tst.b [A0]
0000298E 668E bne -0x70 /* 0000291E */
00002990 206E FDE2 movea.l A0, [A6 - 0x21E]
00002994 4210 clr.b [A0]
00002996 3F05 move.w -[A7], D5
00002998 102E FFFC move.b D0, [A6 - 0x4]
0000299C 4880 ext.w D0
0000299E 3F00 move.w -[A7], D0
000029A0 102E FFFF move.b D0, [A6 - 0x1]
000029A4 4880 ext.w D0
000029A6 3F00 move.w -[A7], D0
000029A8 486E FDEA pea.l [A6 - 0x216]
000029AC 4EBA F592 jsr [PC - 0xA6E /* 00001F40 */]
000029B0 4FEF 000A lea.l A7, [A7 + 0xA]
000029B4 6000 028E bra +0x290 /* 00002C44 */
000029B8 41EE FFEA lea.l A0, [A6 - 0x16]
000029BC 43D3 lea.l A1, [A3]
000029BE 20D9 move.l [A0]+, [A1]+
000029C0 20D9 move.l [A0]+, [A1]+
000029C2 30D9 move.w [A0]+, [A1]+
000029C4 47EB 000A lea.l A3, [A3 + 0xA]
000029C8 0C43 0001 cmpi.w D3, 0x1
000029CC 6C02 bge +0x4 /* 000029D0 */
000029CE 7601 moveq.l D3, 0x01
label000029D0:
000029D0 4A2E FFFE tst.b [A6 - 0x2]
000029D4 6602 bne +0x4 /* 000029D8 */
000029D6 7606 moveq.l D3, 0x06
label000029D8:
000029D8 486E FEEA pea.l [A6 - 0x116]
000029DC 3F03 move.w -[A7], D3
000029DE 4267 clr.w -[A7]
000029E0 486E FFEA pea.l [A6 - 0x16]
000029E4 4EBA F702 jsr [PC - 0x8FE /* 000020E8 */]
000029E8 4FEF 000C lea.l A7, [A7 + 0xC]
000029EC 2D40 FDE6 move.l [A6 - 0x21A], D0
label000029F0:
000029F0 206E FDE6 movea.l A0, [A6 - 0x21A]
000029F4 52AE FDE6 addq.l [A6 - 0x21A], 1
000029F8 0C10 0065 cmpi.b [A0], 0x65 /* 'e' */
000029FC 66F2 bne -0xC /* 000029F0 */
000029FE 206E FDE6 movea.l A0, [A6 - 0x21A]
00002A02 52AE FDE6 addq.l [A6 - 0x21A], 1
00002A06 0C10 002D cmpi.b [A0], 0x2D /* '-' */
00002A0A 57C0 seq D0
00002A0C 4400 neg.b D0
00002A0E 4880 ext.w D0
00002A10 1D40 FFF8 move.b [A6 - 0x8], D0
00002A14 2D6E FDE6 FDE2 move.l [A6 - 0x21E], [A6 - 0x21A]
00002A1A 486E FDE2 pea.l [A6 - 0x21E]
00002A1E 4EBA 1776 jsr [PC + 0x1776 /* 00004196 */]
00002A22 588F addq.l A7, 4
00002A24 3C00 move.w D6, D0
00002A26 4A2E FFF8 tst.b [A6 - 0x8]
00002A2A 6704 beq +0x6 /* 00002A30 */
00002A2C CDFC muls.w D6, 0xFFFFFFFFFFFFFFFF
00002A2E FFFF .extension 0xFFF // unimplemented
label00002A30:
00002A30 4A2E FFF9 tst.b [A6 - 0x7]
00002A34 671A beq +0x1C /* 00002A50 */
00002A36 BC43 cmp.w D6, D3
00002A38 6E08 bgt +0xA /* 00002A42 */
00002A3A 0C46 FFFC cmpi.w D6, 0xFFFC
00002A3E 6C00 FDA2 bge -0x25C /* 000027E2 */
label00002A42:
00002A42 41EE FEEA lea.l A0, [A6 - 0x116]
00002A46 2D48 FDE6 move.l [A6 - 0x21A], A0
00002A4A 5507 subq.b D7, 2
00002A4C 6000 FE88 bra -0x176 /* 000028D6 */
label00002A50:
00002A50 BC43 cmp.w D6, D3
00002A52 6E00 00C4 bgt +0xC6 /* 00002B18 */
00002A56 0C46 FFFC cmpi.w D6, 0xFFFC
00002A5A 6D00 00BC blt +0xBE /* 00002B18 */
00002A5E 422E FDE1 clr.b [A6 - 0x21F]
00002A62 3003 move.w D0, D3
00002A64 9046 sub.w D0, D6
00002A66 486E FEEA pea.l [A6 - 0x116]
00002A6A 3F00 move.w -[A7], D0
00002A6C 3F3C 0001 move.w -[A7], 0x1
00002A70 486E FFEA pea.l [A6 - 0x16]
00002A74 4EBA F672 jsr [PC - 0x98E /* 000020E8 */]
00002A78 4FEF 000C lea.l A7, [A7 + 0xC]
00002A7C 2D40 FDE6 move.l [A6 - 0x21A], D0
00002A80 6020 bra +0x22 /* 00002AA2 */
label00002A82:
00002A82 4A2E FDE1 tst.b [A6 - 0x21F]
00002A86 6610 bne +0x12 /* 00002A98 */
00002A88 206E FDE6 movea.l A0, [A6 - 0x21A]
00002A8C 0C10 002E cmpi.b [A0], 0x2E /* '.' */
00002A90 57C0 seq D0
00002A92 4400 neg.b D0
00002A94 4880 ext.w D0
00002A96 6002 bra +0x4 /* 00002A9A */
label00002A98:
00002A98 7001 moveq.l D0, 0x01
label00002A9A:
00002A9A 1D40 FDE1 move.b [A6 - 0x21F], D0
00002A9E 52AE FDE6 addq.l [A6 - 0x21A], 1
label00002AA2:
00002AA2 206E FDE6 movea.l A0, [A6 - 0x21A]
00002AA6 4A10 tst.b [A0]
00002AA8 66D8 bne -0x26 /* 00002A82 */
00002AAA 53AE FDE6 subq.l [A6 - 0x21A], 1
00002AAE 4A2E FDE1 tst.b [A6 - 0x21F]
00002AB2 6606 bne +0x8 /* 00002ABA */
00002AB4 6026 bra +0x28 /* 00002ADC */
label00002AB6:
00002AB6 53AE FDE6 subq.l [A6 - 0x21A], 1
label00002ABA:
00002ABA 206E FDE6 movea.l A0, [A6 - 0x21A]
00002ABE 0C10 0030 cmpi.b [A0], 0x30 /* '0' */
00002AC2 67F2 beq -0xC /* 00002AB6 */
00002AC4 206E FDE6 movea.l A0, [A6 - 0x21A]
00002AC8 0C10 002E cmpi.b [A0], 0x2E /* '.' */
00002ACC 6604 bne +0x6 /* 00002AD2 */
00002ACE 53AE FDE6 subq.l [A6 - 0x21A], 1
label00002AD2:
00002AD2 52AE FDE6 addq.l [A6 - 0x21A], 1
00002AD6 206E FDE6 movea.l A0, [A6 - 0x21A]
00002ADA 4210 clr.b [A0]
label00002ADC:
00002ADC 41EE FEEA lea.l A0, [A6 - 0x116]
00002AE0 2D48 FDE6 move.l [A6 - 0x21A], A0
00002AE4 206E FDE6 movea.l A0, [A6 - 0x21A]
00002AE8 4A10 tst.b [A0]
00002AEA 6718 beq +0x1A /* 00002B04 */
00002AEC 206E FDE6 movea.l A0, [A6 - 0x21A]
00002AF0 0C10 002D cmpi.b [A0], 0x2D /* '-' */
00002AF4 6600 FD06 bne -0x2F8 /* 000027FC */
00002AF8 206E FDE6 movea.l A0, [A6 - 0x21A]
00002AFC 4A28 0001 tst.b [A0 + 0x1]
00002B00 6600 FCFA bne -0x304 /* 000027FC */
label00002B04:
00002B04 206E FDE6 movea.l A0, [A6 - 0x21A]
00002B08 7030 moveq.l D0, 0x30
00002B0A 1080 move.b [A0], D0
00002B0C 206E FDE6 movea.l A0, [A6 - 0x21A]
00002B10 4228 0001 clr.b [A0 + 0x1]
00002B14 6000 FCE6 bra -0x318 /* 000027FC */
label00002B18:
00002B18 57AE FDE6 subq.l [A6 - 0x21A], 3
00002B1C 600C bra +0xE /* 00002B2A */
label00002B1E:
00002B1E 206E FDE6 movea.l A0, [A6 - 0x21A]
00002B22 53AE FDE6 subq.l [A6 - 0x21A], 1
00002B26 7040 moveq.l D0, 0x40
00002B28 1080 move.b [A0], D0
label00002B2A:
00002B2A 206E FDE6 movea.l A0, [A6 - 0x21A]
00002B2E 0C10 0030 cmpi.b [A0], 0x30 /* '0' */
00002B32 67EA beq -0x14 /* 00002B1E */
00002B34 206E FDE6 movea.l A0, [A6 - 0x21A]
00002B38 0C10 002E cmpi.b [A0], 0x2E /* '.' */
00002B3C 67E0 beq -0x1E /* 00002B1E */
00002B3E 4A2E FFFA tst.b [A6 - 0x6]
00002B42 660E bne +0x10 /* 00002B52 */
00002B44 0C2E 0020 FEEA cmpi.b [A6 - 0x116], 0x20 /* ' ' */
00002B4A 6606 bne +0x8 /* 00002B52 */
00002B4C 7040 moveq.l D0, 0x40
00002B4E 1D40 FEEA move.b [A6 - 0x116], D0
label00002B52:
00002B52 3D7C 0000 FDE0 move.w [A6 - 0x220], 0x0
00002B58 486E FDE0 pea.l [A6 - 0x220]
00002B5C 486E FFEA pea.l [A6 - 0x16]
00002B60 3F3C 200A move.w -[A7], 0x200A /* ' \n' */
00002B64 A9EB trap Pack4/FP68K
00002B66 6D0C blt +0xE /* 00002B74 */
00002B68 4A2E FFFB tst.b [A6 - 0x5]
00002B6C 6706 beq +0x8 /* 00002B74 */
00002B6E 702B moveq.l D0, 0x2B
00002B70 1D40 FEEA move.b [A6 - 0x116], D0
label00002B74:
00002B74 41EE FDEA lea.l A0, [A6 - 0x216]
00002B78 2D48 FDE2 move.l [A6 - 0x21E], A0
00002B7C 41EE FEEA lea.l A0, [A6 - 0x116]
00002B80 2D48 FDE6 move.l [A6 - 0x21A], A0
00002B84 6022 bra +0x24 /* 00002BA8 */
label00002B86:
00002B86 206E FDE6 movea.l A0, [A6 - 0x21A]
00002B8A 0C10 0040 cmpi.b [A0], 0x40 /* '@' */
00002B8E 6714 beq +0x16 /* 00002BA4 */
00002B90 206E FDE2 movea.l A0, [A6 - 0x21E]
00002B94 52AE FDE2 addq.l [A6 - 0x21E], 1
00002B98 226E FDE6 movea.l A1, [A6 - 0x21A]
00002B9C 52AE FDE6 addq.l [A6 - 0x21A], 1
00002BA0 1091 move.b [A0], [A1]
00002BA2 6004 bra +0x6 /* 00002BA8 */
label00002BA4:
00002BA4 52AE FDE6 addq.l [A6 - 0x21A], 1
label00002BA8:
00002BA8 206E FDE6 movea.l A0, [A6 - 0x21A]
00002BAC 0C10 0065 cmpi.b [A0], 0x65 /* 'e' */
00002BB0 66D4 bne -0x2A /* 00002B86 */
00002BB2 1007 move.b D0, D7
00002BB4 4880 ext.w D0
00002BB6 5540 subq.w D0, 2
00002BB8 206E FDE6 movea.l A0, [A6 - 0x21A]
00002BBC 1080 move.b [A0], D0
00002BBE 206E FDE2 movea.l A0, [A6 - 0x21E]
00002BC2 52AE FDE2 addq.l [A6 - 0x21E], 1
00002BC6 226E FDE6 movea.l A1, [A6 - 0x21A]
00002BCA 52AE FDE6 addq.l [A6 - 0x21A], 1
00002BCE 1091 move.b [A0], [A1]
00002BD0 206E FDE2 movea.l A0, [A6 - 0x21E]
00002BD4 52AE FDE2 addq.l [A6 - 0x21E], 1
00002BD8 226E FDE6 movea.l A1, [A6 - 0x21A]
00002BDC 52AE FDE6 addq.l [A6 - 0x21A], 1
00002BE0 1091 move.b [A0], [A1]
00002BE2 2F2E FDE2 move.l -[A7], [A6 - 0x21E]
00002BE6 2F2E FDE6 move.l -[A7], [A6 - 0x21A]
00002BEA 4EBA F2CA jsr [PC - 0xD36 /* 00001EB6 */]
00002BEE 508F addq.l A7, 8
00002BF0 2D40 FDE2 move.l [A6 - 0x21E], D0
00002BF4 6012 bra +0x14 /* 00002C08 */
label00002BF6:
00002BF6 206E FDE2 movea.l A0, [A6 - 0x21E]
00002BFA 52AE FDE2 addq.l [A6 - 0x21E], 1
00002BFE 226E FDE6 movea.l A1, [A6 - 0x21A]
00002C02 52AE FDE6 addq.l [A6 - 0x21A], 1
00002C06 1091 move.b [A0], [A1]
label00002C08:
00002C08 206E FDE6 movea.l A0, [A6 - 0x21A]
00002C0C 4A10 tst.b [A0]
00002C0E 66E6 bne -0x18 /* 00002BF6 */
00002C10 206E FDE2 movea.l A0, [A6 - 0x21E]
00002C14 4210 clr.b [A0]
00002C16 3F05 move.w -[A7], D5
00002C18 102E FFFC move.b D0, [A6 - 0x4]
00002C1C 4880 ext.w D0
00002C1E 3F00 move.w -[A7], D0
00002C20 102E FFFF move.b D0, [A6 - 0x1]
00002C24 4880 ext.w D0
00002C26 3F00 move.w -[A7], D0
00002C28 486E FDEA pea.l [A6 - 0x216]
00002C2C 4EBA F312 jsr [PC - 0xCEE /* 00001F40 */]
00002C30 4FEF 000A lea.l A7, [A7 + 0xA]
00002C34 600E bra +0x10 /* 00002C44 */
00002C36 70FF moveq.l D0, 0xFFFFFFFF
00002C38 6020 bra +0x22 /* 00002C5A */
label00002C3A:
00002C3A 1007 move.b D0, D7
00002C3C 4880 ext.w D0
00002C3E 3F00 move.w -[A7], D0
00002C40 4E92 jsr [A2]
00002C42 548F addq.l A7, 2
label00002C44:
00002C44 41D4 lea.l A0, [A4]
00002C46 528C addq.l A4, 1
00002C48 1E10 move.b D7, [A0]
00002C4A 4A07 tst.b D7
00002C4C 6600 F52E bne -0xAD0 /* 0000217C */
00002C50 302D 9FEE move.w D0, [A5 - 0x6012]
00002C54 6004 bra +0x6 /* 00002C5A */
00002C56 4EBA 1536 jsr [PC + 0x1536 /* 0000418E */]
label00002C5A:
00002C5A 4CDF 1CF8 movem.l A4,A3,A2,D7,D6,D5,D4,D3, [A7]+
00002C5E 4E5E unlink A6
00002C60 4E75 rts
00002C62 464F not.w A7
00002C64 524D addq.w A5, 1
00002C66 4154 chk.w D0, [A4]
00002C68 2020 move.l D0, -[A0]
export_35:
00002C6A 4E56 0000 link A6, 0
00002C6E 2F2D A024 move.l -[A7], [A5 - 0x5FDC]
00002C72 102E 0009 move.b D0, [A6 + 0x9]
00002C76 4880 ext.w D0
00002C78 3F00 move.w -[A7], D0
00002C7A 4EBA 130C jsr [PC + 0x130C /* 00003F88 */]
00002C7E 5C8F addq.l A7, 6
00002C80 4E5E unlink A6
00002C82 4E75 rts
00002C84 5345 subq.w D5, 1
00002C86 4E44 trap 4
00002C88 5052 addq.w [A2], 8
00002C8A 494E chk.w D4, A6
00002C8C 4E56 0000 link A6, 0
00002C90 2F0C move.l -[A7], A4
00002C92 4AAD A020 tst.l [A5 - 0x5FE0]
00002C96 670C beq +0xE /* 00002CA4 */
00002C98 4A2E 0009 tst.b [A6 + 0x9]
00002C9C 6706 beq +0x8 /* 00002CA4 */
00002C9E 7000 moveq.l D0, 0x00
00002CA0 6000 0074 bra +0x76 /* 00002D16 */
label00002CA4:
00002CA4 4A2E 0009 tst.b [A6 + 0x9]
00002CA8 6700 005C beq +0x5E /* 00002D06 */
00002CAC 1038 0207 move.b D0, [0x00000207 /* SPPrint */]
00002CB0 4880 ext.w D0
00002CB2 0800 0000 btst.b D0, 0x0
00002CB6 6708 beq +0xA /* 00002CC0 */
00002CB8 41ED A028 lea.l A0, [A5 - 0x5FD8]
00002CBC 2848 movea.l A4, A0
00002CBE 6022 bra +0x24 /* 00002CE2 */
label00002CC0:
00002CC0 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00002CC4 6D10 blt +0x12 /* 00002CD6 */
00002CC6 1038 0291 move.b D0, [0x00000291 /* PortBUse */]
00002CCA 4880 ext.w D0
00002CCC 0240 000F andi.w D0, 0xF
00002CD0 0C40 0001 cmpi.w D0, 0x1
00002CD4 6708 beq +0xA /* 00002CDE */
label00002CD6:
00002CD6 41ED A02E lea.l A0, [A5 - 0x5FD2]
00002CDA 2848 movea.l A4, A0
00002CDC 6004 bra +0x6 /* 00002CE2 */
label00002CDE:
00002CDE 70FF moveq.l D0, 0xFFFFFFFF
00002CE0 6034 bra +0x36 /* 00002D16 */
label00002CE2:
00002CE2 486D A034 pea.l [A5 - 0x5FCC]
00002CE6 2F0C move.l -[A7], A4
00002CE8 4EBA 11B8 jsr [PC + 0x11B8 /* 00003EA2 */]
00002CEC 508F addq.l A7, 8
00002CEE 2B40 A024 move.l [A5 - 0x5FDC], D0
00002CF2 4A80 tst.l D0
00002CF4 6606 bne +0x8 /* 00002CFC */
00002CF6 302D A266 move.w D0, [A5 - 0x5D9A]
00002CFA 601A bra +0x1C /* 00002D16 */
label00002CFC:
00002CFC 41ED 013A lea.l A0, [A5 + 0x13A]
00002D00 2B48 A020 move.l [A5 - 0x5FE0], A0
00002D04 600E bra +0x10 /* 00002D14 */
label00002D06:
00002D06 42AD A020 clr.l [A5 - 0x5FE0]
00002D0A 2F2D A024 move.l -[A7], [A5 - 0x5FDC]
00002D0E 4EBA 1052 jsr [PC + 0x1052 /* 00003D62 */]
00002D12 588F addq.l A7, 4
label00002D14:
00002D14 7000 moveq.l D0, 0x00
label00002D16:
00002D16 285F movea.l A4, [A7]+
00002D18 4E5E unlink A6
00002D1A 4E75 rts
00002D1C 4543 chk.w D2, D3
00002D1E 484F pea.l A7
00002D20 544F addq.w A7, 2
00002D22 5052 addq.w [A2], 8
fn00002D24:
00002D24 7000 moveq.l D0, 0x00
00002D26 225F movea.l A1, [A7]+
00002D28 2057 movea.l A0, [A7]
00002D2A 48D0 DEF8 movem.l [A0], A7,A6,A4,A3,A2,A1,D7,D6,D5,D4,D3
00002D2E 4ED1 jmp [A1]
00002D30 302F 0008 move.w D0, [A7 + 0x8]
00002D34 6602 bne +0x4 /* 00002D38 */
00002D36 7001 moveq.l D0, 0x01
label00002D38:
00002D38 206F 0004 movea.l A0, [A7 + 0x4]
00002D3C 4CD0 DEF8 movem.l A7,A6,A4,A3,A2,A1,D7,D6,D5,D4,D3, [A0]
00002D40 4ED1 jmp [A1]
fn00002D42:
00002D42 4E56 FFCE link A6, -0x0032
00002D46 2F0C move.l -[A7], A4
00002D48 286E 0008 movea.l A4, [A6 + 0x8]
00002D4C 3D54 FFE6 move.w [A6 - 0x1A], [A4]
00002D50 4267 clr.w -[A7]
00002D52 486E FFCE pea.l [A6 - 0x32]
00002D56 4267 clr.w -[A7]
00002D58 4EBA D4BA jsr [PC - 0x2B46 /* 00000214 */]
00002D5C 301F move.w D0, [A7]+
00002D5E 3940 0002 move.w [A4 + 0x2], D0
00002D62 4A40 tst.w D0
00002D64 670A beq +0xC /* 00002D70 */
00002D66 3B6C 0002 A266 move.w [A5 - 0x5D9A], [A4 + 0x2]
00002D6C 70FF moveq.l D0, 0xFFFFFFFF
00002D6E 6004 bra +0x6 /* 00002D74 */
label00002D70:
00002D70 202E FFFC move.l D0, [A6 - 0x4]
label00002D74:
00002D74 285F movea.l A4, [A7]+
00002D76 4E5E unlink A6
00002D78 4E75 rts
00002D7A 4745 chk.w D3, D5
00002D7C 5446 addq.w D6, 2
00002D7E 494C chk.w D4, A4
00002D80 4550 chk.w D2, [A0]
fn00002D82:
00002D82 4E56 FFCE link A6, -0x0032
00002D86 48E7 0108 movem.l -[A7], D7,A4
00002D8A 286E 0008 movea.l A4, [A6 + 0x8]
00002D8E 3D54 FFE6 move.w [A6 - 0x1A], [A4]
00002D92 7001 moveq.l D0, 0x01
00002D94 3D40 FFFA move.w [A6 - 0x6], D0
00002D98 2D6E 000C FFFC move.l [A6 - 0x4], [A6 + 0xC]
00002D9E 4267 clr.w -[A7]
00002DA0 486E FFCE pea.l [A6 - 0x32]
00002DA4 4267 clr.w -[A7]
00002DA6 4EBA D47E jsr [PC - 0x2B82 /* 00000226 */]
00002DAA 301F move.w D0, [A7]+
00002DAC 3940 0002 move.w [A4 + 0x2], D0
00002DB0 3E00 move.w D7, D0
00002DB2 4A40 tst.w D0
00002DB4 3B47 A266 move.w [A5 - 0x5D9A], D7
00002DB8 3007 move.w D0, D7
00002DBA 4CDF 1080 movem.l A4,D7, [A7]+
00002DBE 4E5E unlink A6
00002DC0 4E75 rts
00002DC2 5345 subq.w D5, 1
00002DC4 5446 addq.w D6, 2
00002DC6 494C chk.w D4, A4
00002DC8 4550 chk.w D2, [A0]
fn00002DCA:
00002DCA 4E56 FFCE link A6, -0x0032
00002DCE 48E7 0308 movem.l -[A7], D6,D7,A4
00002DD2 286E 0008 movea.l A4, [A6 + 0x8]
00002DD6 3D54 FFE6 move.w [A6 - 0x1A], [A4]
00002DDA 2D6C 000A FFEE move.l [A6 - 0x12], [A4 + 0xA]
00002DE0 2F0C move.l -[A7], A4
00002DE2 4EBA FF5E jsr [PC - 0xA2 /* 00002D42 */]
00002DE6 588F addq.l A7, 4
00002DE8 306C 0010 movea.w A0, [A4 + 0x10]
00002DEC D088 add.l D0, A0
00002DEE 2E00 move.l D7, D0
00002DF0 2F07 move.l -[A7], D7
00002DF2 2F0C move.l -[A7], A4
00002DF4 4EBA FF8C jsr [PC - 0x74 /* 00002D82 */]
00002DF8 508F addq.l A7, 8
00002DFA 3C00 move.w D6, D0
00002DFC 4A40 tst.w D0
00002DFE 6722 beq +0x24 /* 00002E22 */
00002E00 426C 0010 clr.w [A4 + 0x10]
00002E04 397C 020A 000E move.w [A4 + 0xE], 0x20A
00002E0A 08AC 0001 0006 bclr.b [A4 + 0x6], 0x1
00002E10 3946 0002 move.w [A4 + 0x2], D6
00002E14 4A46 tst.w D6
00002E16 6704 beq +0x6 /* 00002E1C */
00002E18 3B46 A266 move.w [A5 - 0x5D9A], D6
label00002E1C:
00002E1C 3006 move.w D0, D6
00002E1E 6000 0062 bra +0x64 /* 00002E82 */
label00002E22:
00002E22 2D7C 0000 0200 FFF2 move.l [A6 - 0xE], 0x200
00002E2A 426E FFFA clr.w [A6 - 0x6]
00002E2E 4267 clr.w -[A7]
00002E30 486E FFCE pea.l [A6 - 0x32]
00002E34 4267 clr.w -[A7]
00002E36 4EBA D316 jsr [PC - 0x2CEA /* 0000014E */]
00002E3A 301F move.w D0, [A7]+
00002E3C 3C00 move.w D6, D0
00002E3E 4A40 tst.w D0
00002E40 6712 beq +0x14 /* 00002E54 */
00002E42 0C46 FFD9 cmpi.w D6, 0xFFD9
00002E46 670C beq +0xE /* 00002E54 */
00002E48 3946 0002 move.w [A4 + 0x2], D6
00002E4C 3B46 A266 move.w [A5 - 0x5D9A], D6
00002E50 3006 move.w D0, D6
00002E52 602E bra +0x30 /* 00002E82 */
label00002E54:
00002E54 2F07 move.l -[A7], D7
00002E56 2F0C move.l -[A7], A4
00002E58 4EBA FF28 jsr [PC - 0xD8 /* 00002D82 */]
00002E5C 508F addq.l A7, 8
00002E5E 3C00 move.w D6, D0
00002E60 4A40 tst.w D0
00002E62 670C beq +0xE /* 00002E70 */
00002E64 3B46 A266 move.w [A5 - 0x5D9A], D6
00002E68 3946 0002 move.w [A4 + 0x2], D6
00002E6C 3006 move.w D0, D6
00002E6E 6012 bra +0x14 /* 00002E82 */
label00002E70:
00002E70 396E FFF8 0010 move.w [A4 + 0x10], [A6 - 0x8]
00002E76 426C 000E clr.w [A4 + 0xE]
00002E7A 08AC 0001 0006 bclr.b [A4 + 0x6], 0x1
00002E80 7000 moveq.l D0, 0x00
label00002E82:
00002E82 4CDF 10C0 movem.l A4,D7,D6, [A7]+
00002E86 4E5E unlink A6
00002E88 4E75 rts
00002E8A 5245 addq.w D5, 1
00002E8C 4144 chk.w D0, D4
00002E8E 494E chk.w D4, A6
00002E90 544F addq.w A7, 2
fn00002E92:
00002E92 4E56 FFCE link A6, -0x0032
00002E96 48E7 0308 movem.l -[A7], D6,D7,A4
00002E9A 286E 0008 movea.l A4, [A6 + 0x8]
00002E9E 3D54 FFE6 move.w [A6 - 0x1A], [A4]
00002EA2 2D6C 000A FFEE move.l [A6 - 0x12], [A4 + 0xA]
00002EA8 426E FFFA clr.w [A6 - 0x6]
00002EAC 082C 0001 0006 btst.b [A4 + 0x6], 0x1
00002EB2 672C beq +0x2E /* 00002EE0 */
00002EB4 306C 000E movea.w A0, [A4 + 0xE]
00002EB8 2D48 FFF2 move.l [A6 - 0xE], A0
00002EBC 4267 clr.w -[A7]
00002EBE 486E FFCE pea.l [A6 - 0x32]
00002EC2 4267 clr.w -[A7]
00002EC4 4EBA D29A jsr [PC - 0x2D66 /* 00000160 */]
00002EC8 301F move.w D0, [A7]+
00002ECA 3940 0002 move.w [A4 + 0x2], D0
00002ECE 3C00 move.w D6, D0
00002ED0 4A40 tst.w D0
00002ED2 670C beq +0xE /* 00002EE0 */
00002ED4 3B46 A266 move.w [A5 - 0x5D9A], D6
00002ED8 302D A266 move.w D0, [A5 - 0x5D9A]
00002EDC 6000 0076 bra +0x78 /* 00002F54 */
label00002EE0:
00002EE0 08AC 0001 0006 bclr.b [A4 + 0x6], 0x1
00002EE6 082C 0004 0006 btst.b [A4 + 0x6], 0x4
00002EEC 6700 005C beq +0x5E /* 00002F4A */
00002EF0 2F0C move.l -[A7], A4
00002EF2 4EBA FE4E jsr [PC - 0x1B2 /* 00002D42 */]
00002EF6 588F addq.l A7, 4
00002EF8 2E00 move.l D7, D0
00002EFA 2D7C 0000 0200 FFF2 move.l [A6 - 0xE], 0x200
00002F02 426E FFFA clr.w [A6 - 0x6]
00002F06 4267 clr.w -[A7]
00002F08 486E FFCE pea.l [A6 - 0x32]
00002F0C 4267 clr.w -[A7]
00002F0E 4EBA D23E jsr [PC - 0x2DC2 /* 0000014E */]
00002F12 301F move.w D0, [A7]+
00002F14 3C00 move.w D6, D0
00002F16 4A40 tst.w D0
00002F18 6706 beq +0x8 /* 00002F20 */
00002F1A 0C46 FFD9 cmpi.w D6, 0xFFD9
00002F1E 6616 bne +0x18 /* 00002F36 */
label00002F20:
00002F20 2F07 move.l -[A7], D7
00002F22 2F0C move.l -[A7], A4
00002F24 4EBA FE5C jsr [PC - 0x1A4 /* 00002D82 */]
00002F28 508F addq.l A7, 8
00002F2A 3C00 move.w D6, D0
00002F2C 4A40 tst.w D0
00002F2E 6712 beq +0x14 /* 00002F42 */
00002F30 0C46 FFD9 cmpi.w D6, 0xFFD9
00002F34 670C beq +0xE /* 00002F42 */
label00002F36:
00002F36 3B46 A266 move.w [A5 - 0x5D9A], D6
00002F3A 3946 0002 move.w [A4 + 0x2], D6
00002F3E 3006 move.w D0, D6
00002F40 6012 bra +0x14 /* 00002F54 */
label00002F42:
00002F42 396E FFF8 0010 move.w [A4 + 0x10], [A6 - 0x8]
00002F48 6004 bra +0x6 /* 00002F4E */
label00002F4A:
00002F4A 426C 0010 clr.w [A4 + 0x10]
label00002F4E:
00002F4E 426C 000E clr.w [A4 + 0xE]
00002F52 7000 moveq.l D0, 0x00
label00002F54:
00002F54 4CDF 10C0 movem.l A4,D7,D6, [A7]+
00002F58 4E5E unlink A6
00002F5A 4E75 rts
00002F5C 5752 subq.w [A2], 3
00002F5E 4954 chk.w D4, [A4]
00002F60 4554 chk.w D2, [A4]
00002F62 4F42 chk.w D7, D2
export_37:
fn00002F64:
00002F64 4E56 FFCE link A6, -0x0032
00002F68 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
00002F6C 286E 0008 movea.l A4, [A6 + 0x8]
00002F70 2E2E 000C move.l D7, [A6 + 0xC]
00002F74 082C 0005 0006 btst.b [A4 + 0x6], 0x5
00002F7A 670A beq +0xC /* 00002F86 */
00002F7C 70FF moveq.l D0, 0xFFFFFFFF
00002F7E 3B40 A266 move.w [A5 - 0x5D9A], D0
00002F82 6000 0100 bra +0x102 /* 00003084 */
label00002F86:
00002F86 082C 0001 0006 btst.b [A4 + 0x6], 0x1
00002F8C 6712 beq +0x14 /* 00002FA0 */
00002F8E 2F0C move.l -[A7], A4
00002F90 4EBA FF00 jsr [PC - 0x100 /* 00002E92 */]
00002F94 588F addq.l A7, 4
00002F96 4A40 tst.w D0
00002F98 6706 beq +0x8 /* 00002FA0 */
00002F9A 70FF moveq.l D0, 0xFFFFFFFF
00002F9C 6000 00E6 bra +0xE8 /* 00003084 */
label00002FA0:
00002FA0 3D54 FFE6 move.w [A6 - 0x1A], [A4]
00002FA4 4267 clr.w -[A7]
00002FA6 486E FFCE pea.l [A6 - 0x32]
00002FAA 4267 clr.w -[A7]
00002FAC 4EBA D242 jsr [PC - 0x2DBE /* 000001F0 */]
00002FB0 301F move.w D0, [A7]+
00002FB2 3940 0002 move.w [A4 + 0x2], D0
00002FB6 3800 move.w D4, D0
00002FB8 4A40 tst.w D0
00002FBA 670A beq +0xC /* 00002FC6 */
00002FBC 3B44 A266 move.w [A5 - 0x5D9A], D4
00002FC0 70FF moveq.l D0, 0xFFFFFFFF
00002FC2 6000 00C0 bra +0xC2 /* 00003084 */
label00002FC6:
00002FC6 2C2E FFEA move.l D6, [A6 - 0x16]
00002FCA 302E 0010 move.w D0, [A6 + 0x10]
00002FCE 4EAD 003A jsr [A5 + 0x3A]
00002FD2 0000 0002 ori.b D0, 0x2
00002FD6 0028 0036 0004 ori.b [A0 + 0x4], 0x36 /* '6' */
00002FDC 001E 2F0C ori.b [A6]+, 0xC
00002FE0 4EBA 00B2 jsr [PC + 0xB2 /* 00003094 */]
00002FE4 588F addq.l A7, 4
00002FE6 2A00 move.l D5, D0
00002FE8 0C80 FFFF FFFF cmpi.l D0, 0xFFFFFFFF
00002FEE 6606 bne +0x8 /* 00002FF6 */
00002FF0 70FF moveq.l D0, 0xFFFFFFFF
00002FF2 6000 0090 bra +0x92 /* 00003084 */
label00002FF6:
00002FF6 DE85 add.l D7, D5
00002FF8 6014 bra +0x16 /* 0000300E */
00002FFA DE86 add.l D7, D6
00002FFC 6010 bra +0x12 /* 0000300E */
00002FFE 70CE moveq.l D0, 0xFFFFFFCE
00003000 3940 0002 move.w [A4 + 0x2], D0
00003004 3B40 A266 move.w [A5 - 0x5D9A], D0
00003008 70FF moveq.l D0, 0xFFFFFFFF
0000300A 6000 0078 bra +0x7A /* 00003084 */
label0000300E:
0000300E 08AC 0002 0006 bclr.b [A4 + 0x6], 0x2
00003014 397C 020A 000E move.w [A4 + 0xE], 0x20A
0000301A 426C 0010 clr.w [A4 + 0x10]
0000301E BE86 cmp.l D7, D6
00003020 6F3A ble +0x3C /* 0000305C */
00003022 082C 0003 0006 btst.b [A4 + 0x6], 0x3
00003028 660E bne +0x10 /* 00003038 */
0000302A 70C3 moveq.l D0, 0xFFFFFFC3
0000302C 3B40 A266 move.w [A5 - 0x5D9A], D0
00003030 3940 0002 move.w [A4 + 0x2], D0
00003034 70FF moveq.l D0, 0xFFFFFFFF
00003036 604C bra +0x4E /* 00003084 */
label00003038:
00003038 2D47 FFEA move.l [A6 - 0x16], D7
0000303C 4267 clr.w -[A7]
0000303E 486E FFCE pea.l [A6 - 0x32]
00003042 4267 clr.w -[A7]
00003044 4EBA D1BC jsr [PC - 0x2E44 /* 00000202 */]
00003048 301F move.w D0, [A7]+
0000304A 3940 0002 move.w [A4 + 0x2], D0
0000304E 3800 move.w D4, D0
00003050 4A40 tst.w D0
00003052 6704 beq +0x6 /* 00003058 */
00003054 3B44 A266 move.w [A5 - 0x5D9A], D4
label00003058:
00003058 3004 move.w D0, D4
0000305A 6028 bra +0x2A /* 00003084 */
label0000305C:
0000305C 7001 moveq.l D0, 0x01
0000305E 3D40 FFFA move.w [A6 - 0x6], D0
00003062 2D47 FFFC move.l [A6 - 0x4], D7
00003066 4267 clr.w -[A7]
00003068 486E FFCE pea.l [A6 - 0x32]
0000306C 4267 clr.w -[A7]
0000306E 4EBA D1B6 jsr [PC - 0x2E4A /* 00000226 */]
00003072 301F move.w D0, [A7]+
00003074 3940 0002 move.w [A4 + 0x2], D0
00003078 3800 move.w D4, D0
0000307A 4A40 tst.w D0
0000307C 6704 beq +0x6 /* 00003082 */
0000307E 3B44 A266 move.w [A5 - 0x5D9A], D4
label00003082:
00003082 3004 move.w D0, D4
label00003084:
00003084 4CDF 10F8 movem.l A4,D7,D6,D5,D4,D3, [A7]+
00003088 4E5E unlink A6
0000308A 4E75 rts
0000308C 4653 not.w [A3]
0000308E 4545 chk.w D2, D5
00003090 4B20 .invalid 5, -[A0] // invalid opcode 4 with b == 4
00003092 2020 move.l D0, -[A0]
export_36:
fn00003094:
00003094 4E56 FFCE link A6, -0x0032
00003098 48E7 0108 movem.l -[A7], D7,A4
0000309C 286E 0008 movea.l A4, [A6 + 0x8]
000030A0 082C 0005 0006 btst.b [A4 + 0x6], 0x5
000030A6 670A beq +0xC /* 000030B2 */
000030A8 70FF moveq.l D0, 0xFFFFFFFF
000030AA 3B40 A266 move.w [A5 - 0x5D9A], D0
000030AE 48C0 ext.l D0
000030B0 603C bra +0x3E /* 000030EE */
label000030B2:
000030B2 3D54 FFE6 move.w [A6 - 0x1A], [A4]
000030B6 4267 clr.w -[A7]
000030B8 486E FFCE pea.l [A6 - 0x32]
000030BC 4267 clr.w -[A7]
000030BE 4EBA D154 jsr [PC - 0x2EAC /* 00000214 */]
000030C2 301F move.w D0, [A7]+
000030C4 3E00 move.w D7, D0
000030C6 3940 0002 move.w [A4 + 0x2], D0
000030CA 4A40 tst.w D0
000030CC 6708 beq +0xA /* 000030D6 */
000030CE 3B47 A266 move.w [A5 - 0x5D9A], D7
000030D2 70FF moveq.l D0, 0xFFFFFFFF
000030D4 6018 bra +0x1A /* 000030EE */
label000030D6:
000030D6 0C6C 0200 000E cmpi.w [A4 + 0xE], 0x200
000030DC 6F06 ble +0x8 /* 000030E4 */
000030DE 202E FFFC move.l D0, [A6 - 0x4]
000030E2 600A bra +0xC /* 000030EE */
label000030E4:
000030E4 306C 000E movea.w A0, [A4 + 0xE]
000030E8 D1EE FFFC add.l A0, [A6 - 0x4]
000030EC 2008 move.l D0, A0
label000030EE:
000030EE 4CDF 1080 movem.l A4,D7, [A7]+
000030F2 4E5E unlink A6
000030F4 4E75 rts
000030F6 4654 not.w [A4]
000030F8 454C chk.w D2, A4
000030FA 4C20 2020 movem.w D2,A2, -[A0]
000030FE 4E56 FFCC link A6, -0x0034
00003102 48E7 0108 movem.l -[A7], D7,A4
00003106 286E 0008 movea.l A4, [A6 + 0x8]
0000310A 3D54 FFE6 move.w [A6 - 0x1A], [A4]
0000310E 082C 0001 0006 btst.b [A4 + 0x6], 0x1
00003114 6710 beq +0x12 /* 00003126 */
00003116 2F0C move.l -[A7], A4
00003118 4EBA FD78 jsr [PC - 0x288 /* 00002E92 */]
0000311C 588F addq.l A7, 4
0000311E 4A40 tst.w D0
00003120 6704 beq +0x6 /* 00003126 */
00003122 70FF moveq.l D0, 0xFFFFFFFF
00003124 6044 bra +0x46 /* 0000316A */
label00003126:
00003126 4267 clr.w -[A7]
00003128 3F14 move.w -[A7], [A4]
0000312A 486E FFCC pea.l [A6 - 0x34]
0000312E 4EBA D1A0 jsr [PC - 0x2E60 /* 000002D0 */]
00003132 301F move.w D0, [A7]+
00003134 3E00 move.w D7, D0
00003136 4A40 tst.w D0
00003138 6708 beq +0xA /* 00003142 */
0000313A 3B47 A266 move.w [A5 - 0x5D9A], D7
0000313E 70FF moveq.l D0, 0xFFFFFFFF
00003140 6028 bra +0x2A /* 0000316A */
label00003142:
00003142 3D6E FFCC FFE4 move.w [A6 - 0x1C], [A6 - 0x34]
00003148 42AE FFE0 clr.l [A6 - 0x20]
0000314C 4267 clr.w -[A7]
0000314E 486E FFCE pea.l [A6 - 0x32]
00003152 4267 clr.w -[A7]
00003154 4EBA D02E jsr [PC - 0x2FD2 /* 00000184 */]
00003158 301F move.w D0, [A7]+
0000315A 3E00 move.w D7, D0
0000315C 4A40 tst.w D0
0000315E 6708 beq +0xA /* 00003168 */
00003160 3B47 A266 move.w [A5 - 0x5D9A], D7
00003164 70FF moveq.l D0, 0xFFFFFFFF
00003166 6002 bra +0x4 /* 0000316A */
label00003168:
00003168 7000 moveq.l D0, 0x00
label0000316A:
0000316A 4CDF 1080 movem.l A4,D7, [A7]+
0000316E 4E5E unlink A6
00003170 4E75 rts
00003172 4646 not.w D6
00003174 4C55 5348 movem.l A6,A4,A1,A0,D6,D3, [A5]
00003178 2020 move.l D0, -[A0]
0000317A 4E56 FFCE link A6, -0x0032
0000317E 4267 clr.w -[A7]
00003180 42A7 clr.l -[A7]
00003182 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003186 4EBA FDDC jsr [PC - 0x224 /* 00002F64 */]
0000318A 4FEF 000A lea.l A7, [A7 + 0xA]
0000318E 4E5E unlink A6
00003190 4E75 rts
00003192 5245 addq.w D5, 1
00003194 5749 subq.w A1, 3
00003196 4E44 trap 4
00003198 2020 move.l D0, -[A0]
export_44:
0000319A 4E56 FFFE link A6, -0x0002
0000319E 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000031A2 286E 0008 movea.l A4, [A6 + 0x8]
000031A6 3E2E 000C move.w D7, [A6 + 0xC]
000031AA 3C2E 000E move.w D6, [A6 + 0xE]
000031AE 266E 0010 movea.l A3, [A6 + 0x10]
000031B2 42AD A268 clr.l [A5 - 0x5D98]
000031B6 4A2D A26C tst.b [A5 - 0x5D94]
000031BA 671A beq +0x1C /* 000031D6 */
000031BC 422D A26C clr.b [A5 - 0x5D94]
000031C0 7000 moveq.l D0, 0x00
000031C2 3007 move.w D0, D7
000031C4 7200 moveq.l D1, 0x00
000031C6 3206 move.w D1, D6
000031C8 2F01 move.l -[A7], D1
000031CA 2F00 move.l -[A7], D0
000031CC 4EAD 0042 jsr [A5 + 0x42]
000031D0 2A00 move.l D5, D0
000031D2 2800 move.l D4, D0
000031D4 601C bra +0x1E /* 000031F2 */
label000031D6:
000031D6 4A46 tst.w D6
000031D8 6C06 bge +0x8 /* 000031E0 */
000031DA 7000 moveq.l D0, 0x00
000031DC 6000 0128 bra +0x12A /* 00003306 */
label000031E0:
000031E0 7000 moveq.l D0, 0x00
000031E2 3007 move.w D0, D7
000031E4 3046 movea.w A0, D6
000031E6 2F08 move.l -[A7], A0
000031E8 2F00 move.l -[A7], D0
000031EA 4EAD 0042 jsr [A5 + 0x42]
000031EE 2A00 move.l D5, D0
000031F0 2800 move.l D4, D0
label000031F2:
000031F2 7000 moveq.l D0, 0x00
000031F4 082B 0003 0006 btst.b [A3 + 0x6], 0x3
000031FA 56C0 sne D0
000031FC 4400 neg.b D0
000031FE 4A40 tst.w D0
00003200 6610 bne +0x12 /* 00003212 */
00003202 70C3 moveq.l D0, 0xFFFFFFC3
00003204 3740 0002 move.w [A3 + 0x2], D0
00003208 3B40 A266 move.w [A5 - 0x5D9A], D0
0000320C 7000 moveq.l D0, 0x00
0000320E 6000 00F6 bra +0xF8 /* 00003306 */
label00003212:
00003212 200B move.l D0, A3
00003214 6708 beq +0xA /* 0000321E */
00003216 082B 0006 0006 btst.b [A3 + 0x6], 0x6
0000321C 660C bne +0xE /* 0000322A */
label0000321E:
0000321E 70DA moveq.l D0, 0xFFFFFFDA
00003220 3B40 A266 move.w [A5 - 0x5D9A], D0
00003224 7000 moveq.l D0, 0x00
00003226 6000 00DE bra +0xE0 /* 00003306 */
label0000322A:
0000322A 082B 0005 0006 btst.b [A3 + 0x6], 0x5
00003230 6736 beq +0x38 /* 00003268 */
label00003232:
00003232 5385 subq.l D5, 1
00003234 4A85 tst.l D5
00003236 6D1A blt +0x1C /* 00003252 */
00003238 2F0B move.l -[A7], A3
0000323A 1014 move.b D0, [A4]
0000323C 4880 ext.w D0
0000323E 3F00 move.w -[A7], D0
00003240 4EBA 0D46 jsr [PC + 0xD46 /* 00003F88 */]
00003244 5C8F addq.l A7, 6
00003246 41D4 lea.l A0, [A4]
00003248 528C addq.l A4, 1
0000324A 1210 move.b D1, [A0]
0000324C 4881 ext.w D1
0000324E B041 cmp.w D0, D1
00003250 67E0 beq -0x1E /* 00003232 */
label00003252:
00003252 3045 movea.w A0, D5
00003254 2B48 A268 move.l [A5 - 0x5D98], A0
00003258 7000 moveq.l D0, 0x00
0000325A 3007 move.w D0, D7
0000325C 2F00 move.l -[A7], D0
0000325E 2F04 move.l -[A7], D4
00003260 4EAD 004A jsr [A5 + 0x4A]
00003264 6000 00A0 bra +0xA2 /* 00003306 */
label00003268:
00003268 7A00 moveq.l D5, 0x00
0000326A 6000 0068 bra +0x6A /* 000032D4 */
label0000326E:
0000326E 0C6B 01FF 000E cmpi.w [A3 + 0xE], 0x1FF
00003274 6F18 ble +0x1A /* 0000328E */
00003276 2F0B move.l -[A7], A3
00003278 4EBA FC18 jsr [PC - 0x3E8 /* 00002E92 */]
0000327C 588F addq.l A7, 4
0000327E 4A40 tst.w D0
00003280 670C beq +0xE /* 0000328E */
00003282 3045 movea.w A0, D5
00003284 2B48 A268 move.l [A5 - 0x5D98], A0
00003288 7000 moveq.l D0, 0x00
0000328A 6000 007A bra +0x7C /* 00003306 */
label0000328E:
0000328E 302B 000E move.w D0, [A3 + 0xE]
00003292 526B 000E addq.w [A3 + 0xE], 1
00003296 48C0 ext.l D0
00003298 D0AB 000A add.l D0, [A3 + 0xA]
0000329C 082B 0000 0006 btst.b [A3 + 0x6], 0x0
000032A2 660C bne +0xE /* 000032B0 */
000032A4 0C14 000A cmpi.b [A4], 0xA /* '\n' */
000032A8 6606 bne +0x8 /* 000032B0 */
000032AA 48E7 8000 movem.l -[A7], D0
000032AE 600A bra +0xC /* 000032BA */
label000032B0:
000032B0 48E7 8000 movem.l -[A7], D0
000032B4 1014 move.b D0, [A4]
000032B6 4880 ext.w D0
000032B8 6002 bra +0x4 /* 000032BC */
label000032BA:
000032BA 700D moveq.l D0, 0x0D
label000032BC:
000032BC 3D40 FFFE move.w [A6 - 0x2], D0
000032C0 4CDF 0001 movem.l D0, [A7]+
000032C4 2040 movea.l A0, D0
000032C6 10AE FFFF move.b [A0], [A6 - 0x1]
000032CA 528C addq.l A4, 1
000032CC 08EB 0001 0006 bset.b [A3 + 0x6], 0x1
000032D2 5285 addq.l D5, 1
label000032D4:
000032D4 BA84 cmp.l D5, D4
000032D6 6D96 blt -0x68 /* 0000326E */
000032D8 3045 movea.w A0, D5
000032DA 2B48 A268 move.l [A5 - 0x5D98], A0
000032DE 0C53 FFF9 cmpi.w [A3], 0xFFF9
000032E2 6706 beq +0x8 /* 000032EA */
000032E4 0C53 FFF7 cmpi.w [A3], 0xFFF7
000032E8 6610 bne +0x12 /* 000032FA */
label000032EA:
000032EA 2F0B move.l -[A7], A3
000032EC 4EBA FBA4 jsr [PC - 0x45C /* 00002E92 */]
000032F0 588F addq.l A7, 4
000032F2 4A40 tst.w D0
000032F4 6704 beq +0x6 /* 000032FA */
000032F6 7000 moveq.l D0, 0x00
000032F8 600C bra +0xE /* 00003306 */
label000032FA:
000032FA 7000 moveq.l D0, 0x00
000032FC 3007 move.w D0, D7
000032FE 2F00 move.l -[A7], D0
00003300 2F05 move.l -[A7], D5
00003302 4EAD 004A jsr [A5 + 0x4A]
label00003306:
00003306 4CDF 18F0 movem.l A4,A3,D7,D6,D5,D4, [A7]+
0000330A 4E5E unlink A6
0000330C 4E75 rts
0000330E 4657 not.w [A7]
00003310 5249 addq.w A1, 1
00003312 5445 addq.w D5, 2
00003314 2020 move.l D0, -[A0]
export_43:
00003316 4E56 0000 link A6, 0
0000331A 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
0000331E 286E 0008 movea.l A4, [A6 + 0x8]
00003322 3E2E 000C move.w D7, [A6 + 0xC]
00003326 3C2E 000E move.w D6, [A6 + 0xE]
0000332A 266E 0010 movea.l A3, [A6 + 0x10]
0000332E 42AD A268 clr.l [A5 - 0x5D98]
00003332 4A2D A26C tst.b [A5 - 0x5D94]
00003336 6718 beq +0x1A /* 00003350 */
00003338 422D A26C clr.b [A5 - 0x5D94]
0000333C 7000 moveq.l D0, 0x00
0000333E 3007 move.w D0, D7
00003340 7200 moveq.l D1, 0x00
00003342 3206 move.w D1, D6
00003344 2F01 move.l -[A7], D1
00003346 2F00 move.l -[A7], D0
00003348 4EAD 0042 jsr [A5 + 0x42]
0000334C 2A00 move.l D5, D0
0000334E 601A bra +0x1C /* 0000336A */
label00003350:
00003350 4A46 tst.w D6
00003352 6C06 bge +0x8 /* 0000335A */
00003354 7000 moveq.l D0, 0x00
00003356 6000 0120 bra +0x122 /* 00003478 */
label0000335A:
0000335A 7000 moveq.l D0, 0x00
0000335C 3007 move.w D0, D7
0000335E 3046 movea.w A0, D6
00003360 2F08 move.l -[A7], A0
00003362 2F00 move.l -[A7], D0
00003364 4EAD 0042 jsr [A5 + 0x42]
00003368 2A00 move.l D5, D0
label0000336A:
0000336A 200B move.l D0, A3
0000336C 6708 beq +0xA /* 00003376 */
0000336E 082B 0006 0006 btst.b [A3 + 0x6], 0x6
00003374 660C bne +0xE /* 00003382 */
label00003376:
00003376 70DA moveq.l D0, 0xFFFFFFDA
00003378 3B40 A266 move.w [A5 - 0x5D9A], D0
0000337C 7000 moveq.l D0, 0x00
0000337E 6000 00F8 bra +0xFA /* 00003478 */
label00003382:
00003382 082B 0004 0006 btst.b [A3 + 0x6], 0x4
00003388 6610 bne +0x12 /* 0000339A */
0000338A 70CA moveq.l D0, 0xFFFFFFCA
0000338C 3740 0002 move.w [A3 + 0x2], D0
00003390 3B40 A266 move.w [A5 - 0x5D9A], D0
00003394 7000 moveq.l D0, 0x00
00003396 6000 00E0 bra +0xE2 /* 00003478 */
label0000339A:
0000339A 082B 0005 0006 btst.b [A3 + 0x6], 0x5
000033A0 6608 bne +0xA /* 000033AA */
000033A2 6030 bra +0x32 /* 000033D4 */
label000033A4:
000033A4 41D4 lea.l A0, [A4]
000033A6 528C addq.l A4, 1
000033A8 1084 move.b [A0], D4
label000033AA:
000033AA 5385 subq.l D5, 1
000033AC 4A85 tst.l D5
000033AE 6D10 blt +0x12 /* 000033C0 */
000033B0 2F0B move.l -[A7], A3
000033B2 4EBA 00D4 jsr [PC + 0xD4 /* 00003488 */]
000033B6 588F addq.l A7, 4
000033B8 3800 move.w D4, D0
000033BA 0C40 FFFF cmpi.w D0, 0xFFFF
000033BE 66E4 bne -0x1A /* 000033A4 */
label000033C0:
000033C0 3006 move.w D0, D6
000033C2 C1C7 muls.w D0, D7
000033C4 4840 swap.w D0
000033C6 4240 clr.w D0
000033C8 4840 swap.w D0
000033CA 2B40 A268 move.l [A5 - 0x5D98], D0
000033CE 3006 move.w D0, D6
000033D0 6000 00A6 bra +0xA8 /* 00003478 */
label000033D4:
000033D4 7600 moveq.l D3, 0x00
000033D6 6000 0092 bra +0x94 /* 0000346A */
label000033DA:
000033DA 302B 000E move.w D0, [A3 + 0xE]
000033DE B06B 0010 cmp.w D0, [A3 + 0x10]
000033E2 6D00 0058 blt +0x5A /* 0000343C */
000033E6 2F0B move.l -[A7], A3
000033E8 4EBA F9E0 jsr [PC - 0x620 /* 00002DCA */]
000033EC 588F addq.l A7, 4
000033EE 3800 move.w D4, D0
000033F0 4A40 tst.w D0
000033F2 671A beq +0x1C /* 0000340E */
000033F4 0C44 FFD9 cmpi.w D4, 0xFFD9
000033F8 6714 beq +0x16 /* 0000340E */
000033FA 3043 movea.w A0, D3
000033FC 2B48 A268 move.l [A5 - 0x5D98], A0
00003400 3744 0002 move.w [A3 + 0x2], D4
00003404 3B44 A266 move.w [A5 - 0x5D9A], D4
00003408 7000 moveq.l D0, 0x00
0000340A 6000 006C bra +0x6E /* 00003478 */
label0000340E:
0000340E 4A6B 0010 tst.w [A3 + 0x10]
00003412 6628 bne +0x2A /* 0000343C */
00003414 4A44 tst.w D4
00003416 6706 beq +0x8 /* 0000341E */
00003418 3044 movea.w A0, D4
0000341A 2008 move.l D0, A0
0000341C 6002 bra +0x4 /* 00003420 */
label0000341E:
0000341E 70D9 moveq.l D0, 0xFFFFFFD9
label00003420:
00003420 3740 0002 move.w [A3 + 0x2], D0
00003424 3B40 A266 move.w [A5 - 0x5D9A], D0
00003428 3043 movea.w A0, D3
0000342A 2B48 A268 move.l [A5 - 0x5D98], A0
0000342E 7000 moveq.l D0, 0x00
00003430 3007 move.w D0, D7
00003432 2F00 move.l -[A7], D0
00003434 2F03 move.l -[A7], D3
00003436 4EAD 004A jsr [A5 + 0x4A]
0000343A 603C bra +0x3E /* 00003478 */
label0000343C:
0000343C 302B 000E move.w D0, [A3 + 0xE]
00003440 526B 000E addq.w [A3 + 0xE], 1
00003444 48C0 ext.l D0
00003446 D0AB 000A add.l D0, [A3 + 0xA]
0000344A 2040 movea.l A0, D0
0000344C 1010 move.b D0, [A0]
0000344E 4880 ext.w D0
00003450 3800 move.w D4, D0
00003452 082B 0000 0006 btst.b [A3 + 0x6], 0x0
00003458 6608 bne +0xA /* 00003462 */
0000345A 0C44 000D cmpi.w D4, 0xD /* '\r' */
0000345E 6602 bne +0x4 /* 00003462 */
00003460 780A moveq.l D4, 0x0A
label00003462:
00003462 41D4 lea.l A0, [A4]
00003464 528C addq.l A4, 1
00003466 1084 move.b [A0], D4
00003468 5283 addq.l D3, 1
label0000346A:
0000346A B685 cmp.l D3, D5
0000346C 6D00 FF6C blt -0x92 /* 000033DA */
00003470 3043 movea.w A0, D3
00003472 2B48 A268 move.l [A5 - 0x5D98], A0
00003476 3006 move.w D0, D6
label00003478:
00003478 4CDF 18F8 movem.l A4,A3,D7,D6,D5,D4,D3, [A7]+
0000347C 4E5E unlink A6
0000347E 4E75 rts
00003480 4652 not.w [A2]
00003482 4541 chk.w D2, D1
00003484 4420 neg.b -[A0]
00003486 2020 move.l D0, -[A0]
export_38:
fn00003488:
00003488 4E56 0000 link A6, 0
0000348C 48E7 0308 movem.l -[A7], D6,D7,A4
00003490 286E 0008 movea.l A4, [A6 + 0x8]
00003494 200C move.l D0, A4
00003496 6708 beq +0xA /* 000034A0 */
00003498 082C 0006 0006 btst.b [A4 + 0x6], 0x6
0000349E 660C bne +0xE /* 000034AC */
label000034A0:
000034A0 70DA moveq.l D0, 0xFFFFFFDA
000034A2 3B40 A266 move.w [A5 - 0x5D9A], D0
000034A6 70FF moveq.l D0, 0xFFFFFFFF
000034A8 6000 00BA bra +0xBC /* 00003564 */
label000034AC:
000034AC 082C 0004 0006 btst.b [A4 + 0x6], 0x4
000034B2 6610 bne +0x12 /* 000034C4 */
000034B4 70CA moveq.l D0, 0xFFFFFFCA
000034B6 3940 0002 move.w [A4 + 0x2], D0
000034BA 3B40 A266 move.w [A5 - 0x5D9A], D0
000034BE 70FF moveq.l D0, 0xFFFFFFFF
000034C0 6000 00A2 bra +0xA4 /* 00003564 */
label000034C4:
000034C4 082C 0005 0006 btst.b [A4 + 0x6], 0x5
000034CA 673A beq +0x3C /* 00003506 */
000034CC 082C 0002 0006 btst.b [A4 + 0x6], 0x2
000034D2 6710 beq +0x12 /* 000034E4 */
000034D4 08AC 0002 0006 bclr.b [A4 + 0x6], 0x2
000034DA 7000 moveq.l D0, 0x00
000034DC 102C 0008 move.b D0, [A4 + 0x8]
000034E0 6000 0082 bra +0x84 /* 00003564 */
label000034E4:
000034E4 4EBA 02AA jsr [PC + 0x2AA /* 00003790 */]
000034E8 3E00 move.w D7, D0
000034EA 4A2D 9E40 tst.b [A5 - 0x61C0]
000034EE 6710 beq +0x12 /* 00003500 */
000034F0 0C47 FFFF cmpi.w D7, 0xFFFF
000034F4 670A beq +0xC /* 00003500 */
000034F6 2F0C move.l -[A7], A4
000034F8 3F07 move.w -[A7], D7
000034FA 4EBA 0A8C jsr [PC + 0xA8C /* 00003F88 */]
000034FE 5C8F addq.l A7, 6
label00003500:
00003500 3007 move.w D0, D7
00003502 6000 0060 bra +0x62 /* 00003564 */
label00003506:
00003506 302C 000E move.w D0, [A4 + 0xE]
0000350A B06C 0010 cmp.w D0, [A4 + 0x10]
0000350E 6D2C blt +0x2E /* 0000353C */
00003510 2F0C move.l -[A7], A4
00003512 4EBA F8B6 jsr [PC - 0x74A /* 00002DCA */]
00003516 588F addq.l A7, 4
00003518 3C00 move.w D6, D0
0000351A 4A40 tst.w D0
0000351C 670A beq +0xC /* 00003528 */
0000351E 0C46 FFD9 cmpi.w D6, 0xFFD9
00003522 6704 beq +0x6 /* 00003528 */
00003524 70FF moveq.l D0, 0xFFFFFFFF
00003526 603C bra +0x3E /* 00003564 */
label00003528:
00003528 4A6C 0010 tst.w [A4 + 0x10]
0000352C 660E bne +0x10 /* 0000353C */
0000352E 70D9 moveq.l D0, 0xFFFFFFD9
00003530 3940 0002 move.w [A4 + 0x2], D0
00003534 3B40 A266 move.w [A5 - 0x5D9A], D0
00003538 70FF moveq.l D0, 0xFFFFFFFF
0000353A 6028 bra +0x2A /* 00003564 */
label0000353C:
0000353C 302C 000E move.w D0, [A4 + 0xE]
00003540 526C 000E addq.w [A4 + 0xE], 1
00003544 48C0 ext.l D0
00003546 D0AC 000A add.l D0, [A4 + 0xA]
0000354A 2040 movea.l A0, D0
0000354C 7000 moveq.l D0, 0x00
0000354E 1010 move.b D0, [A0]
00003550 3E00 move.w D7, D0
00003552 082C 0000 0006 btst.b [A4 + 0x6], 0x0
00003558 6608 bne +0xA /* 00003562 */
0000355A 0C47 000D cmpi.w D7, 0xD /* '\r' */
0000355E 6602 bne +0x4 /* 00003562 */
00003560 7E0A moveq.l D7, 0x0A
label00003562:
00003562 3007 move.w D0, D7
label00003564:
00003564 4CDF 10C0 movem.l A4,D7,D6, [A7]+
00003568 4E5E unlink A6
0000356A 4E75 rts
0000356C 4647 not.w D7
0000356E 4554 chk.w D2, [A4]
00003570 4320 .invalid 1, -[A0] // invalid opcode 4 with b == 4
00003572 2020 move.l D0, -[A0]
00003574 4E56 0000 link A6, 0
00003578 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
0000357C 286E 0008 movea.l A4, [A6 + 0x8]
00003580 3E2E 000C move.w D7, [A6 + 0xC]
00003584 266E 000E movea.l A3, [A6 + 0xE]
00003588 244C movea.l A2, A4
0000358A 4A47 tst.w D7
0000358C 6606 bne +0x8 /* 00003594 */
0000358E 7000 moveq.l D0, 0x00
00003590 6000 0068 bra +0x6A /* 000035FA */
label00003594:
00003594 41ED A038 lea.l A0, [A5 - 0x5FC8]
00003598 B7C8 cmpa.l A3, A0
0000359A 6638 bne +0x3A /* 000035D4 */
0000359C 082B 0005 0006 btst.b [A3 + 0x6], 0x5
000035A2 6730 beq +0x32 /* 000035D4 */
000035A4 3B47 A26E move.w [A5 - 0x5D92], D7
000035A8 2F0C move.l -[A7], A4
000035AA 4EBA 005E jsr [PC + 0x5E /* 0000360A */]
000035AE 588F addq.l A7, 4
000035B0 6000 0048 bra +0x4A /* 000035FA */
label000035B4:
000035B4 0C46 0008 cmpi.w D6, 0x8
000035B8 660E bne +0x10 /* 000035C8 */
000035BA B5CC cmpa.l A2, A4
000035BC 6706 beq +0x8 /* 000035C4 */
000035BE 5447 addq.w D7, 2
000035C0 538A subq.l A2, 1
000035C2 6010 bra +0x12 /* 000035D4 */
label000035C4:
000035C4 5247 addq.w D7, 1
000035C6 600C bra +0xE /* 000035D4 */
label000035C8:
000035C8 41D2 lea.l A0, [A2]
000035CA 528A addq.l A2, 1
000035CC 1086 move.b [A0], D6
000035CE 0C06 000A cmpi.b D6, 0xA /* '\n' */
000035D2 6716 beq +0x18 /* 000035EA */
label000035D4:
000035D4 5347 subq.w D7, 1
000035D6 4A47 tst.w D7
000035D8 6D10 blt +0x12 /* 000035EA */
000035DA 2F0B move.l -[A7], A3
000035DC 4EBA FEAA jsr [PC - 0x156 /* 00003488 */]
000035E0 588F addq.l A7, 4
000035E2 3C00 move.w D6, D0
000035E4 0C40 FFFF cmpi.w D0, 0xFFFF
000035E8 66CA bne -0x34 /* 000035B4 */
label000035EA:
000035EA B9CA cmpa.l A4, A2
000035EC 6702 beq +0x4 /* 000035F0 */
000035EE 4212 clr.b [A2]
label000035F0:
000035F0 B5CC cmpa.l A2, A4
000035F2 6704 beq +0x6 /* 000035F8 */
000035F4 200C move.l D0, A4
000035F6 6002 bra +0x4 /* 000035FA */
label000035F8:
000035F8 7000 moveq.l D0, 0x00
label000035FA:
000035FA 4CDF 1CC0 movem.l A4,A3,A2,D7,D6, [A7]+
000035FE 4E5E unlink A6
00003600 4E75 rts
00003602 4647 not.w D7
00003604 4554 chk.w D2, [A4]
00003606 5320 subq.b -[A0], 1
00003608 2020 move.l D0, -[A0]
fn0000360A:
0000360A 4E56 0000 link A6, 0
0000360E 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00003612 286E 0008 movea.l A4, [A6 + 0x8]
00003616 264C movea.l A3, A4
00003618 1C2D 9E40 move.b D6, [A5 - 0x61C0]
0000361C 4A6D A26E tst.w [A5 - 0x5D92]
00003620 5EC0 sgt D0
00003622 4400 neg.b D0
00003624 4880 ext.w D0
00003626 1A00 move.b D5, D0
00003628 082D 0005 A03E btst.b [A5 - 0x5FC2], 0x5
0000362E 670A beq +0xC /* 0000363A */
00003630 4A2D 9E40 tst.b [A5 - 0x61C0]
00003634 6704 beq +0x6 /* 0000363A */
00003636 4EBA E1A4 jsr [PC - 0x1E5C /* 000017DC */]
label0000363A:
0000363A 4267 clr.w -[A7]
0000363C 4EBA E2B2 jsr [PC - 0x1D4E /* 000018F0 */]
00003640 548F addq.l A7, 2
00003642 6000 0076 bra +0x78 /* 000036BA */
label00003646:
00003646 0C47 0008 cmpi.w D7, 0x8
0000364A 6638 bne +0x3A /* 00003684 */
0000364C B7CC cmpa.l A3, A4
0000364E 6700 006A beq +0x6C /* 000036BA */
00003652 082D 0005 A03E btst.b [A5 - 0x5FC2], 0x5
00003658 6722 beq +0x24 /* 0000367C */
0000365A 4A06 tst.b D6
0000365C 671E beq +0x20 /* 0000367C */
0000365E 3F3C 0008 move.w -[A7], 0x8
00003662 4EBA E3F4 jsr [PC - 0x1C0C /* 00001A58 */]
00003666 548F addq.l A7, 2
00003668 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
0000366C 4EBA E3EA jsr [PC - 0x1C16 /* 00001A58 */]
00003670 548F addq.l A7, 2
00003672 3F3C 0008 move.w -[A7], 0x8
00003676 4EBA E3E0 jsr [PC - 0x1C20 /* 00001A58 */]
0000367A 548F addq.l A7, 2
label0000367C:
0000367C 538B subq.l A3, 1
0000367E 7020 moveq.l D0, 0x20
00003680 1680 move.b [A3], D0
00003682 6036 bra +0x38 /* 000036BA */
label00003684:
00003684 082D 0005 A03E btst.b [A5 - 0x5FC2], 0x5
0000368A 670C beq +0xE /* 00003698 */
0000368C 4A06 tst.b D6
0000368E 6708 beq +0xA /* 00003698 */
00003690 3F07 move.w -[A7], D7
00003692 4EBA E3C4 jsr [PC - 0x1C3C /* 00001A58 */]
00003696 548F addq.l A7, 2
label00003698:
00003698 41D3 lea.l A0, [A3]
0000369A 528B addq.l A3, 1
0000369C 1087 move.b [A0], D7
0000369E 0C07 000A cmpi.b D7, 0xA /* '\n' */
000036A2 6608 bne +0xA /* 000036AC */
000036A4 4A05 tst.b D5
000036A6 6626 bne +0x28 /* 000036CE */
000036A8 538B subq.l A3, 1
000036AA 6022 bra +0x24 /* 000036CE */
label000036AC:
000036AC 4A05 tst.b D5
000036AE 670A beq +0xC /* 000036BA */
000036B0 536D A26E subq.w [A5 - 0x5D92], 1
000036B4 4A6D A26E tst.w [A5 - 0x5D92]
000036B8 6714 beq +0x16 /* 000036CE */
label000036BA:
000036BA 486D A038 pea.l [A5 - 0x5FC8]
000036BE 4EBA FDC8 jsr [PC - 0x238 /* 00003488 */]
000036C2 588F addq.l A7, 4
000036C4 3E00 move.w D7, D0
000036C6 0C40 FFFF cmpi.w D0, 0xFFFF
000036CA 6600 FF7A bne -0x84 /* 00003646 */
label000036CE:
000036CE B7CC cmpa.l A3, A4
000036D0 6606 bne +0x8 /* 000036D8 */
000036D2 0C47 000A cmpi.w D7, 0xA /* '\n' */
000036D6 6604 bne +0x6 /* 000036DC */
label000036D8:
000036D8 4213 clr.b [A3]
000036DA 6002 bra +0x4 /* 000036DE */
label000036DC:
000036DC 99CC sub.l A4, A4
label000036DE:
000036DE 1006 move.b D0, D6
000036E0 4880 ext.w D0
000036E2 3F00 move.w -[A7], D0
000036E4 4EBA E20A jsr [PC - 0x1DF6 /* 000018F0 */]
000036E8 548F addq.l A7, 2
000036EA 426D A26E clr.w [A5 - 0x5D92]
000036EE 200C move.l D0, A4
000036F0 4CDF 18E0 movem.l A4,A3,D7,D6,D5, [A7]+
000036F4 4E5E unlink A6
000036F6 4E75 rts
000036F8 4745 chk.w D3, D5
000036FA 5453 addq.w [A3], 2
000036FC 2020 move.l D0, -[A0]
000036FE 2020 move.l D0, -[A0]
00003700 4E56 0000 link A6, 0
00003704 48E7 0108 movem.l -[A7], D7,A4
00003708 3E2E 0008 move.w D7, [A6 + 0x8]
0000370C 286E 000A movea.l A4, [A6 + 0xA]
00003710 200C move.l D0, A4
00003712 6708 beq +0xA /* 0000371C */
00003714 082C 0006 0006 btst.b [A4 + 0x6], 0x6
0000371A 660C bne +0xE /* 00003728 */
label0000371C:
0000371C 70DA moveq.l D0, 0xFFFFFFDA
0000371E 3B40 A266 move.w [A5 - 0x5D9A], D0
00003722 70FF moveq.l D0, 0xFFFFFFFF
00003724 6000 005A bra +0x5C /* 00003780 */
label00003728:
00003728 0C47 FFFF cmpi.w D7, 0xFFFF
0000372C 6606 bne +0x8 /* 00003734 */
0000372E 70FF moveq.l D0, 0xFFFFFFFF
00003730 6000 004E bra +0x50 /* 00003780 */
label00003734:
00003734 082C 0005 0006 btst.b [A4 + 0x6], 0x5
0000373A 6722 beq +0x24 /* 0000375E */
0000373C 082C 0004 0006 btst.b [A4 + 0x6], 0x4
00003742 671A beq +0x1C /* 0000375E */
00003744 082C 0002 0006 btst.b [A4 + 0x6], 0x2
0000374A 6704 beq +0x6 /* 00003750 */
0000374C 70FF moveq.l D0, 0xFFFFFFFF
0000374E 6030 bra +0x32 /* 00003780 */
label00003750:
00003750 08EC 0002 0006 bset.b [A4 + 0x6], 0x2
00003756 1947 0008 move.b [A4 + 0x8], D7
0000375A 3007 move.w D0, D7
0000375C 6022 bra +0x24 /* 00003780 */
label0000375E:
0000375E 0C6C 0200 000E cmpi.w [A4 + 0xE], 0x200
00003764 6E06 bgt +0x8 /* 0000376C */
00003766 4A6C 000E tst.w [A4 + 0xE]
0000376A 6604 bne +0x6 /* 00003770 */
label0000376C:
0000376C 70FF moveq.l D0, 0xFFFFFFFF
0000376E 6010 bra +0x12 /* 00003780 */
label00003770:
00003770 536C 000E subq.w [A4 + 0xE], 1
00003774 306C 000E movea.w A0, [A4 + 0xE]
00003778 D1EC 000A add.l A0, [A4 + 0xA]
0000377C 1087 move.b [A0], D7
0000377E 3007 move.w D0, D7
label00003780:
00003780 4CDF 1080 movem.l A4,D7, [A7]+
00003784 4E5E unlink A6
00003786 4E75 rts
00003788 554E subq.w A6, 2
0000378A 4745 chk.w D3, D5
0000378C 5443 addq.w D3, 2
0000378E 2020 move.l D0, -[A0]
fn00003790:
00003790 4E56 FFF0 link A6, -0x0010
00003794 48E7 0108 movem.l -[A7], D7,A4
00003798 4EBA E042 jsr [PC - 0x1FBE /* 000017DC */]
0000379C 6006 bra +0x8 /* 000037A4 */
label0000379E:
0000379E 4267 clr.w -[A7]
000037A0 A938 trap HiliteMenu
000037A2 A9B4 trap SystemTask
label000037A4:
000037A4 4267 clr.w -[A7]
000037A6 3F3C FFFF move.w -[A7], 0xFFFF
000037AA 486E FFF0 pea.l [A6 - 0x10]
000037AE A970 trap GetNextEvent
000037B0 101F move.b D0, [A7]+
000037B2 4A00 tst.b D0
000037B4 67E8 beq -0x16 /* 0000379E */
000037B6 486D 9C60 pea.l [A5 - 0x63A0]
000037BA A851 trap SetCursor
000037BC 0C6E 0003 FFF0 cmpi.w [A6 - 0x10], 0x3
000037C2 6714 beq +0x16 /* 000037D8 */
000037C4 0C6E 0005 FFF0 cmpi.w [A6 - 0x10], 0x5
000037CA 670C beq +0xE /* 000037D8 */
000037CC 486E FFF0 pea.l [A6 - 0x10]
000037D0 4EBA D280 jsr [PC - 0x2D80 /* 00000A52 */]
000037D4 588F addq.l A7, 4
000037D6 60CC bra -0x32 /* 000037A4 */
label000037D8:
000037D8 7000 moveq.l D0, 0x00
000037DA 102E FFF5 move.b D0, [A6 - 0xB]
000037DE 3E00 move.w D7, D0
000037E0 082E 0000 FFFE btst.b [A6 - 0x2], 0x0
000037E6 6700 00AE beq +0xB0 /* 00003896 */
000037EA 4AAD A270 tst.l [A5 - 0x5D90]
000037EE 6700 003C beq +0x3E /* 0000382C */
000037F2 286D A270 movea.l A4, [A5 - 0x5D90]
000037F6 3007 move.w D0, D7
000037F8 4EAD 002A jsr [A5 + 0x2A]
000037FC 0003 000E ori.b D3, 0xE
00003800 0063 000A ori.w -[A3], 0xA /* '\n' */
00003804 0043 0006 ori.w D3, 0x6
00003808 002E 0022 0CAD ori.b [A6 + 0xCAD], 0x22 /* '"' */
0000380E 0000 0001 ori.b D0, 0x1
00003812 A270 trap SlotVRemove, flags=2
00003814 6604 bne +0x6 /* 0000381A */
00003816 4EBA CECC jsr [PC - 0x3134 /* 000006E4 */]
label0000381A:
0000381A 7001 moveq.l D0, 0x01
0000381C 2B40 A270 move.l [A5 - 0x5D90], D0
00003820 3F3C 0002 move.w -[A7], 0x2
00003824 4E94 jsr [A4]
00003826 548F addq.l A7, 2
00003828 6000 FF7A bra -0x84 /* 000037A4 */
label0000382C:
0000382C 3007 move.w D0, D7
0000382E 4EAD 002A jsr [A5 + 0x2A]
00003832 0009 0026 ori.b A1, 0x26 /* '&' */
00003836 0064 0022 ori.w -[A4], 0x22 /* '"' */
0000383A 0044 001E ori.w D4, 0x1E
0000383E 007A 001A 005A ori.w [PC + 0x5A /* 0000389A */], 0x1A
00003844 001C 0020 ori.b [A4]+, 0x20 /* ' ' */
00003848 0018 0032 ori.b [A0]+, 0x32 /* '2' */
0000384C 001A 0036 ori.b [A2]+, 0x36 /* '6' */
00003850 001A 0060 ori.b [A2]+, 0x60 /* '`' */
00003854 001A 0008 ori.b [A2]+, 0x8
00003858 001A 70FF ori.b [A2]+, 0xFF
0000385C 6000 0042 bra +0x44 /* 000038A0 */
00003860 7E00 moveq.l D7, 0x00
00003862 6000 003A bra +0x3C /* 0000389E */
00003866 7E1E moveq.l D7, 0x1E
00003868 6034 bra +0x36 /* 0000389E */
0000386A 7E1F moveq.l D7, 0x1F
0000386C 6030 bra +0x32 /* 0000389E */
0000386E 7E7F moveq.l D7, 0x7F
00003870 602C bra +0x2E /* 0000389E */
00003872 0C47 0041 cmpi.w D7, 0x41 /* 'A' */
00003876 6D0C blt +0xE /* 00003884 */
00003878 0C47 005F cmpi.w D7, 0x5F /* '_' */
0000387C 6E06 bgt +0x8 /* 00003884 */
0000387E 0647 FFC0 addi.w D7, 0xFFC0
00003882 601A bra +0x1C /* 0000389E */
label00003884:
00003884 0C47 0061 cmpi.w D7, 0x61 /* 'a' */
00003888 6D14 blt +0x16 /* 0000389E */
0000388A 0C47 007E cmpi.w D7, 0x7E /* '~' */
0000388E 6E0E bgt +0x10 /* 0000389E */
00003890 0647 FFA0 addi.w D7, 0xFFA0
00003894 6008 bra +0xA /* 0000389E */
label00003896:
00003896 0C47 000D cmpi.w D7, 0xD /* '\r' */
0000389A 6602 bne +0x4 /* 0000389E */
0000389C 7E0A moveq.l D7, 0x0A
label0000389E:
0000389E 3007 move.w D0, D7
label000038A0:
000038A0 4CDF 1080 movem.l A4,D7, [A7]+
000038A4 4E5E unlink A6
000038A6 4E75 rts
000038A8 4745 chk.w D3, D5
000038AA 5443 addq.w D3, 2
000038AC 4841 swap.w D1
000038AE 5246 addq.w D6, 1
000038B0 4E56 0000 link A6, 0
000038B4 082D 0002 A25A btst.b [A5 - 0x5DA6], 0x2
000038BA 6704 beq +0x6 /* 000038C0 */
000038BC 70FF moveq.l D0, 0xFFFFFFFF
000038BE 6010 bra +0x12 /* 000038D0 */
label000038C0:
000038C0 08ED 0002 A25A bset.b [A5 - 0x5DA6], 0x2
000038C6 1B6E 0009 A25C move.b [A5 - 0x5DA4], [A6 + 0x9]
000038CC 302E 0008 move.w D0, [A6 + 0x8]
label000038D0:
000038D0 4E5E unlink A6
000038D2 4E75 rts
000038D4 554E subq.w A6, 2
000038D6 4745 chk.w D3, D5
000038D8 5443 addq.w D3, 2
000038DA 4820 nbcd.b -[A0]
fn000038DC:
000038DC 082D 0002 A25A btst.b [A5 - 0x5DA6], 0x2
000038E2 670E beq +0x10 /* 000038F2 */
000038E4 08AD 0002 A25A bclr.b [A5 - 0x5DA6], 0x2
000038EA 7000 moveq.l D0, 0x00
000038EC 102D A25C move.b D0, [A5 - 0x5DA4]
000038F0 6004 bra +0x6 /* 000038F6 */
label000038F2:
000038F2 4EBA FE9C jsr [PC - 0x164 /* 00003790 */]
label000038F6:
000038F6 4E75 rts
000038F8 4EBA FFE2 jsr [PC - 0x1E /* 000038DC */]
000038FC 4E75 rts
000038FE 2F07 move.l -[A7], D7
00003900 4EBA FFDA jsr [PC - 0x26 /* 000038DC */]
00003904 3E00 move.w D7, D0
00003906 0C47 FFFF cmpi.w D7, 0xFFFF
0000390A 6708 beq +0xA /* 00003914 */
0000390C 3F07 move.w -[A7], D7
0000390E 4EBA E148 jsr [PC - 0x1EB8 /* 00001A58 */]
00003912 548F addq.l A7, 2
label00003914:
00003914 3007 move.w D0, D7
00003916 2E1F move.l D7, [A7]+
00003918 4E75 rts
0000391A 4E56 0000 link A6, 0
0000391E 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00003922 286E 0008 movea.l A4, [A6 + 0x8]
00003926 264C movea.l A3, A4
00003928 1C2D 9E40 move.b D6, [A5 - 0x61C0]
0000392C 4EBA DEAE jsr [PC - 0x2152 /* 000017DC */]
00003930 6000 0056 bra +0x58 /* 00003988 */
label00003934:
00003934 0C47 0008 cmpi.w D7, 0x8
00003938 6630 bne +0x32 /* 0000396A */
0000393A B7CC cmpa.l A3, A4
0000393C 674A beq +0x4C /* 00003988 */
0000393E 4A2D 9E40 tst.b [A5 - 0x61C0]
00003942 671E beq +0x20 /* 00003962 */
00003944 3F3C 0008 move.w -[A7], 0x8
00003948 4EBA E10E jsr [PC - 0x1EF2 /* 00001A58 */]
0000394C 548F addq.l A7, 2
0000394E 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00003952 4EBA E104 jsr [PC - 0x1EFC /* 00001A58 */]
00003956 548F addq.l A7, 2
00003958 3F3C 0008 move.w -[A7], 0x8
0000395C 4EBA E0FA jsr [PC - 0x1F06 /* 00001A58 */]
00003960 548F addq.l A7, 2
label00003962:
00003962 538B subq.l A3, 1
00003964 7020 moveq.l D0, 0x20
00003966 1680 move.b [A3], D0
00003968 601E bra +0x20 /* 00003988 */
label0000396A:
0000396A 4A2D 9E40 tst.b [A5 - 0x61C0]
0000396E 6708 beq +0xA /* 00003978 */
00003970 3F07 move.w -[A7], D7
00003972 4EBA E0E4 jsr [PC - 0x1F1C /* 00001A58 */]
00003976 548F addq.l A7, 2
label00003978:
00003978 41D3 lea.l A0, [A3]
0000397A 528B addq.l A3, 1
0000397C 1087 move.b [A0], D7
0000397E 0C07 000A cmpi.b D7, 0xA /* '\n' */
00003982 6604 bne +0x6 /* 00003988 */
00003984 538B subq.l A3, 1
00003986 600C bra +0xE /* 00003994 */
label00003988:
00003988 4EBA FF52 jsr [PC - 0xAE /* 000038DC */]
0000398C 3E00 move.w D7, D0
0000398E 0C40 FFFF cmpi.w D0, 0xFFFF
00003992 66A0 bne -0x5E /* 00003934 */
label00003994:
00003994 B7CC cmpa.l A3, A4
00003996 6606 bne +0x8 /* 0000399E */
00003998 0C47 000A cmpi.w D7, 0xA /* '\n' */
0000399C 6604 bne +0x6 /* 000039A2 */
label0000399E:
0000399E 4213 clr.b [A3]
000039A0 6002 bra +0x4 /* 000039A4 */
label000039A2:
000039A2 99CC sub.l A4, A4
label000039A4:
000039A4 200C move.l D0, A4
000039A6 4CDF 18C0 movem.l A4,A3,D7,D6, [A7]+
000039AA 4E5E unlink A6
000039AC 4E75 rts
000039AE 4347 chk.w D1, D7
000039B0 4554 chk.w D2, [A4]
000039B2 5320 subq.b -[A0], 1
000039B4 2020 move.l D0, -[A0]
fn000039B6:
000039B6 4E56 FF7A link A6, -0x0086
000039BA 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
000039BE 286E 000C movea.l A4, [A6 + 0xC]
000039C2 266E 0010 movea.l A3, [A6 + 0x10]
000039C6 200B move.l D0, A3
000039C8 6640 bne +0x42 /* 00003A0A */
000039CA 7603 moveq.l D3, 0x03
000039CC 6002 bra +0x4 /* 000039D0 */
label000039CE:
000039CE 5243 addq.w D3, 1
label000039D0:
000039D0 0C43 001E cmpi.w D3, 0x1E
000039D4 6C14 bge +0x16 /* 000039EA */
000039D6 3003 move.w D0, D3
000039D8 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
000039DA 0012 41ED ori.b [A2], 0xED
000039DE A038 trap WriteParam
000039E0 D1C0 add.l A0, D0
000039E2 0828 0006 0006 btst.b [A0 + 0x6], 0x6
000039E8 66E4 bne -0x1A /* 000039CE */
label000039EA:
000039EA 0C43 001E cmpi.w D3, 0x1E
000039EE 6D0C blt +0xE /* 000039FC */
000039F0 70D6 moveq.l D0, 0xFFFFFFD6
000039F2 3B40 A266 move.w [A5 - 0x5D9A], D0
000039F6 7000 moveq.l D0, 0x00
000039F8 6000 0358 bra +0x35A /* 00003D52 */
label000039FC:
000039FC 3003 move.w D0, D3
000039FE C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00003A00 0012 41ED ori.b [A2], 0xED
00003A04 A038 trap WriteParam
00003A06 D1C0 add.l A0, D0
00003A08 2648 movea.l A3, A0
label00003A0A:
00003A0A 7602 moveq.l D3, 0x02
00003A0C 7A01 moveq.l D5, 0x01
00003A0E 1D45 FF7B move.b [A6 - 0x85], D5
00003A12 422E FF7A clr.b [A6 - 0x86]
00003A16 7800 moveq.l D4, 0x00
00003A18 426E FF7C clr.w [A6 - 0x84]
00003A1C 4A2C 0001 tst.b [A4 + 0x1]
00003A20 660A bne +0xC /* 00003A2C */
00003A22 0C14 0072 cmpi.b [A4], 0x72 /* 'r' */
00003A26 662C bne +0x2E /* 00003A54 */
00003A28 7601 moveq.l D3, 0x01
00003A2A 6028 bra +0x2A /* 00003A54 */
label00003A2C:
00003A2C 0C2C 002B 0001 cmpi.b [A4 + 0x1], 0x2B /* '+' */
00003A32 660E bne +0x10 /* 00003A42 */
00003A34 7603 moveq.l D3, 0x03
00003A36 0C2C 0062 0002 cmpi.b [A4 + 0x2], 0x62 /* 'b' */
00003A3C 6616 bne +0x18 /* 00003A54 */
00003A3E 7801 moveq.l D4, 0x01
00003A40 6012 bra +0x14 /* 00003A54 */
label00003A42:
00003A42 0C2C 0062 0001 cmpi.b [A4 + 0x1], 0x62 /* 'b' */
00003A48 6602 bne +0x4 /* 00003A4C */
00003A4A 7801 moveq.l D4, 0x01
label00003A4C:
00003A4C 0C14 0072 cmpi.b [A4], 0x72 /* 'r' */
00003A50 6602 bne +0x4 /* 00003A54 */
00003A52 7601 moveq.l D3, 0x01
label00003A54:
00003A54 1014 move.b D0, [A4]
00003A56 4880 ext.w D0
00003A58 4EAD 002A jsr [A5 + 0x2A]
00003A5C 0003 000E ori.b D3, 0xE
00003A60 0072 0010 0077 ori.w [A2 + D0.w + 0x77], 0x10
00003A66 0010 0061 ori.b [A0], 0x61 /* 'a' */
00003A6A 0014 422E ori.b [A4], 0x2E /* '.' */
00003A6E FF7B .extension 0xF7B // unimplemented
00003A70 6012 bra +0x14 /* 00003A84 */
00003A72 7A01 moveq.l D5, 0x01
00003A74 600E bra +0x10 /* 00003A84 */
00003A76 7001 moveq.l D0, 0x01
00003A78 1D40 FF7A move.b [A6 - 0x86], D0
00003A7C 6006 bra +0x8 /* 00003A84 */
00003A7E 7000 moveq.l D0, 0x00
00003A80 6000 02D0 bra +0x2D2 /* 00003D52 */
label00003A84:
00003A84 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003A88 4EBA C8E2 jsr [PC - 0x371E /* 0000036C */]
00003A8C 588F addq.l A7, 4
00003A8E 42A7 clr.l -[A7]
00003A90 4878 0200 pea.l [0x00000200 /* SPAlarm */]
00003A94 4EBA C602 jsr [PC - 0x39FE /* 00000098 */]
00003A98 205F movea.l A0, [A7]+
00003A9A 2448 movea.l A2, A0
label00003A9C:
00003A9C 42AE FFE0 clr.l [A6 - 0x20]
00003AA0 4267 clr.w -[A7]
00003AA2 486E FFCE pea.l [A6 - 0x32]
00003AA6 4267 clr.w -[A7]
00003AA8 4EBA C6C8 jsr [PC - 0x3938 /* 00000172 */]
00003AAC 301F move.w D0, [A7]+
00003AAE 4A40 tst.w D0
00003AB0 6704 beq +0x6 /* 00003AB6 */
00003AB2 426E FFE4 clr.w [A6 - 0x1C]
label00003AB6:
00003AB6 2D6E 0008 FFE0 move.l [A6 - 0x20], [A6 + 0x8]
00003ABC 422E FFE8 clr.b [A6 - 0x18]
00003AC0 1D43 FFE9 move.b [A6 - 0x17], D3
00003AC4 42AE FFEA clr.l [A6 - 0x16]
00003AC8 4267 clr.w -[A7]
00003ACA 486E FFCE pea.l [A6 - 0x32]
00003ACE 4267 clr.w -[A7]
00003AD0 4EBA C658 jsr [PC - 0x39A8 /* 0000012A */]
00003AD4 301F move.w D0, [A7]+
00003AD6 3E00 move.w D7, D0
00003AD8 0C47 FFD5 cmpi.w D7, 0xFFD5
00003ADC 6600 0074 bne +0x76 /* 00003B52 */
00003AE0 4A2E FF7B tst.b [A6 - 0x85]
00003AE4 6700 006C beq +0x6E /* 00003B52 */
00003AE8 4267 clr.w -[A7]
00003AEA 486E FFCE pea.l [A6 - 0x32]
00003AEE 4267 clr.w -[A7]
00003AF0 4EBA C6A4 jsr [PC - 0x395C /* 00000196 */]
00003AF4 301F move.w D0, [A7]+
00003AF6 3C00 move.w D6, D0
00003AF8 4A40 tst.w D0
00003AFA 6600 0240 bne +0x242 /* 00003D3C */
00003AFE 426E FF9A clr.w [A6 - 0x66]
00003B02 2D6E FFE0 FF90 move.l [A6 - 0x70], [A6 - 0x20]
00003B08 3D6E FFE4 FF94 move.w [A6 - 0x6C], [A6 - 0x1C]
00003B0E 1D6E FFE8 FF98 move.b [A6 - 0x68], [A6 - 0x18]
00003B14 4267 clr.w -[A7]
00003B16 486E FF7E pea.l [A6 - 0x82]
00003B1A 4267 clr.w -[A7]
00003B1C 4EBA C6AE jsr [PC - 0x3952 /* 000001CC */]
00003B20 301F move.w D0, [A7]+
00003B22 3C00 move.w D6, D0
00003B24 4A40 tst.w D0
00003B26 6600 0214 bne +0x216 /* 00003D3C */
00003B2A 2D7C 5445 5854 FF9E move.l [A6 - 0x62], 0x54455854 /* 'TEXT' */
00003B32 2D7C 3F3F 3F3F FFA2 move.l [A6 - 0x5E], 0x3F3F3F3F /* '????' */
00003B3A 4267 clr.w -[A7]
00003B3C 486E FF7E pea.l [A6 - 0x82]
00003B40 4267 clr.w -[A7]
00003B42 4EBA C69A jsr [PC - 0x3966 /* 000001DE */]
00003B46 301F move.w D0, [A7]+
00003B48 3C00 move.w D6, D0
00003B4A 4A40 tst.w D0
00003B4C 6600 01EE bne +0x1F0 /* 00003D3C */
00003B50 7A00 moveq.l D5, 0x00
label00003B52:
00003B52 4A47 tst.w D7
00003B54 6600 01CE bne +0x1D0 /* 00003D24 */
00003B58 4A6E FFE6 tst.w [A6 - 0x1A]
00003B5C 6F00 00EC ble +0xEE /* 00003C4A */
00003B60 0C14 0061 cmpi.b [A4], 0x61 /* 'a' */
00003B64 663E bne +0x40 /* 00003BA4 */
00003B66 4267 clr.w -[A7]
00003B68 486E FFCE pea.l [A6 - 0x32]
00003B6C 4267 clr.w -[A7]
00003B6E 4EBA C680 jsr [PC - 0x3980 /* 000001F0 */]
00003B72 301F move.w D0, [A7]+
00003B74 3C00 move.w D6, D0
00003B76 4A40 tst.w D0
00003B78 6600 01C2 bne +0x1C4 /* 00003D3C */
00003B7C 2D6E FFEA FFFC move.l [A6 - 0x4], [A6 - 0x16]
00003B82 7001 moveq.l D0, 0x01
00003B84 3D40 FFFA move.w [A6 - 0x6], D0
00003B88 4267 clr.w -[A7]
00003B8A 486E FFCE pea.l [A6 - 0x32]
00003B8E 4267 clr.w -[A7]
00003B90 4EBA C694 jsr [PC - 0x396C /* 00000226 */]
00003B94 301F move.w D0, [A7]+
00003B96 3C00 move.w D6, D0
00003B98 4A46 tst.w D6
00003B9A 6708 beq +0xA /* 00003BA4 */
00003B9C 0C46 FFD9 cmpi.w D6, 0xFFD9
00003BA0 6600 019A bne +0x19C /* 00003D3C */
label00003BA4:
00003BA4 0C14 0077 cmpi.b [A4], 0x77 /* 'w' */
00003BA8 6600 00A0 bne +0xA2 /* 00003C4A */
00003BAC 4A05 tst.b D5
00003BAE 6700 009A beq +0x9C /* 00003C4A */
00003BB2 426E FF9A clr.w [A6 - 0x66]
00003BB6 2D6E FFE0 FF90 move.l [A6 - 0x70], [A6 - 0x20]
00003BBC 3D6E FFE4 FF94 move.w [A6 - 0x6C], [A6 - 0x1C]
00003BC2 1D6E FFE8 FF98 move.b [A6 - 0x68], [A6 - 0x18]
00003BC8 4267 clr.w -[A7]
00003BCA 486E FF7E pea.l [A6 - 0x82]
00003BCE 4267 clr.w -[A7]
00003BD0 4EBA C5FA jsr [PC - 0x3A06 /* 000001CC */]
00003BD4 301F move.w D0, [A7]+
00003BD6 3C00 move.w D6, D0
00003BD8 4A40 tst.w D0
00003BDA 6600 0160 bne +0x162 /* 00003D3C */
00003BDE 4267 clr.w -[A7]
00003BE0 486E FFCE pea.l [A6 - 0x32]
00003BE4 4267 clr.w -[A7]
00003BE6 4EBA C554 jsr [PC - 0x3AAC /* 0000013C */]
00003BEA 301F move.w D0, [A7]+
00003BEC 3C00 move.w D6, D0
00003BEE 4A40 tst.w D0
00003BF0 6600 014A bne +0x14C /* 00003D3C */
00003BF4 4267 clr.w -[A7]
00003BF6 486E FFCE pea.l [A6 - 0x32]
00003BFA 4267 clr.w -[A7]
00003BFC 4EBA C5AA jsr [PC - 0x3A56 /* 000001A8 */]
00003C00 301F move.w D0, [A7]+
00003C02 3C00 move.w D6, D0
00003C04 4A40 tst.w D0
00003C06 6600 0134 bne +0x136 /* 00003D3C */
00003C0A 4267 clr.w -[A7]
00003C0C 486E FFCE pea.l [A6 - 0x32]
00003C10 4267 clr.w -[A7]
00003C12 4EBA C582 jsr [PC - 0x3A7E /* 00000196 */]
00003C16 301F move.w D0, [A7]+
00003C18 3C00 move.w D6, D0
00003C1A 4A40 tst.w D0
00003C1C 6600 011E bne +0x120 /* 00003D3C */
00003C20 4267 clr.w -[A7]
00003C22 486E FF7E pea.l [A6 - 0x82]
00003C26 4267 clr.w -[A7]
00003C28 4EBA C5B4 jsr [PC - 0x3A4C /* 000001DE */]
00003C2C 301F move.w D0, [A7]+
00003C2E 3C00 move.w D6, D0
00003C30 4A40 tst.w D0
00003C32 6600 0108 bne +0x10A /* 00003D3C */
00003C36 4267 clr.w -[A7]
00003C38 486E FFCE pea.l [A6 - 0x32]
00003C3C 4267 clr.w -[A7]
00003C3E 4EBA C4EA jsr [PC - 0x3B16 /* 0000012A */]
00003C42 301F move.w D0, [A7]+
00003C44 3E00 move.w D7, D0
00003C46 422E FF7B clr.b [A6 - 0x85]
label00003C4A:
00003C4A 4A47 tst.w D7
00003C4C 6600 00D6 bne +0xD8 /* 00003D24 */
00003C50 3D6E FFE6 FF7C move.w [A6 - 0x84], [A6 - 0x1A]
00003C56 36AE FF7C move.w [A3], [A6 - 0x84]
00003C5A 426B 0002 clr.w [A3 + 0x2]
00003C5E 08AB 0007 0006 bclr.b [A3 + 0x6], 0x7
00003C64 08AB 0005 0006 bclr.b [A3 + 0x6], 0x5
00003C6A 274A 000A move.l [A3 + 0xA], A2
00003C6E 08EB 0006 0006 bset.b [A3 + 0x6], 0x6
00003C74 08AB 0001 0006 bclr.b [A3 + 0x6], 0x1
00003C7A 08AB 0002 0006 bclr.b [A3 + 0x6], 0x2
00003C80 08AB 0004 0006 bclr.b [A3 + 0x6], 0x4
00003C86 08AB 0003 0006 bclr.b [A3 + 0x6], 0x3
00003C8C 08AB 0007 0007 bclr.b [A3 + 0x7], 0x7
00003C92 0C43 0003 cmpi.w D3, 0x3
00003C96 6706 beq +0x8 /* 00003C9E */
00003C98 0C43 0001 cmpi.w D3, 0x1
00003C9C 6606 bne +0x8 /* 00003CA4 */
label00003C9E:
00003C9E 08EB 0004 0006 bset.b [A3 + 0x6], 0x4
label00003CA4:
00003CA4 0C43 0003 cmpi.w D3, 0x3
00003CA8 6706 beq +0x8 /* 00003CB0 */
00003CAA 0C43 0002 cmpi.w D3, 0x2
00003CAE 6606 bne +0x8 /* 00003CB6 */
label00003CB0:
00003CB0 08EB 0003 0006 bset.b [A3 + 0x6], 0x3
label00003CB6:
00003CB6 08AB 0000 0006 bclr.b [A3 + 0x6], 0x0
00003CBC 1004 move.b D0, D4
00003CBE 0200 0001 andi.b D0, 0x1
00003CC2 812B 0006 or.b [A3 + 0x6], D0
00003CC6 377C 020A 000E move.w [A3 + 0xE], 0x20A
00003CCC 426B 0010 clr.w [A3 + 0x10]
00003CD0 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003CD4 4EBA C6B2 jsr [PC - 0x394E /* 00000388 */]
00003CD8 588F addq.l A7, 4
00003CDA 4A2D A275 tst.b [A5 - 0x5D8B]
00003CDE 6610 bne +0x12 /* 00003CF0 */
00003CE0 7001 moveq.l D0, 0x01
00003CE2 1B40 A275 move.b [A5 - 0x5D8B], D0
00003CE6 486D 015A pea.l [A5 + 0x15A]
00003CEA 4EBA C888 jsr [PC - 0x3778 /* 00000574 */]
00003CEE 588F addq.l A7, 4
label00003CF0:
00003CF0 082B 0004 0006 btst.b [A3 + 0x6], 0x4
00003CF6 6728 beq +0x2A /* 00003D20 */
00003CF8 082B 0003 0006 btst.b [A3 + 0x6], 0x3
00003CFE 6720 beq +0x22 /* 00003D20 */
00003D00 2F0B move.l -[A7], A3
00003D02 4EBA F0C6 jsr [PC - 0xF3A /* 00002DCA */]
00003D06 588F addq.l A7, 4
00003D08 3C00 move.w D6, D0
00003D0A 4A40 tst.w D0
00003D0C 6712 beq +0x14 /* 00003D20 */
00003D0E 0C46 FFD9 cmpi.w D6, 0xFFD9
00003D12 670C beq +0xE /* 00003D20 */
00003D14 3B46 A266 move.w [A5 - 0x5D9A], D6
00003D18 3746 0002 move.w [A3 + 0x2], D6
00003D1C 200B move.l D0, A3
00003D1E 6032 bra +0x34 /* 00003D52 */
label00003D20:
00003D20 200B move.l D0, A3
00003D22 602E bra +0x30 /* 00003D52 */
label00003D24:
00003D24 0C47 FFD5 cmpi.w D7, 0xFFD5
00003D28 6608 bne +0xA /* 00003D32 */
00003D2A 4A2E FF7B tst.b [A6 - 0x85]
00003D2E 6600 FD6C bne -0x292 /* 00003A9C */
label00003D32:
00003D32 4A47 tst.w D7
00003D34 670A beq +0xC /* 00003D40 */
00003D36 3B47 A266 move.w [A5 - 0x5D9A], D7
00003D3A 6004 bra +0x6 /* 00003D40 */
label00003D3C:
00003D3C 3B46 A266 move.w [A5 - 0x5D9A], D6
label00003D40:
00003D40 2F0A move.l -[A7], A2
00003D42 4EBA C360 jsr [PC - 0x3CA0 /* 000000A4 */]
00003D46 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003D4A 4EBA C63C jsr [PC - 0x39C4 /* 00000388 */]
00003D4E 588F addq.l A7, 4
00003D50 7000 moveq.l D0, 0x00
label00003D52:
00003D52 4CDF 1CF8 movem.l A4,A3,A2,D7,D6,D5,D4,D3, [A7]+
00003D56 4E5E unlink A6
00003D58 4E75 rts
00003D5A 5846 addq.w D6, 4
00003D5C 4F50 chk.w D7, [A0]
00003D5E 454E chk.w D2, A6
00003D60 2020 move.l D0, -[A0]
export_40:
fn00003D62:
00003D62 4E56 FFCC link A6, -0x0034
00003D66 48E7 0308 movem.l -[A7], D6,D7,A4
00003D6A 286E 0008 movea.l A4, [A6 + 0x8]
00003D6E 200C move.l D0, A4
00003D70 6700 0118 beq +0x11A /* 00003E8A */
00003D74 082C 0005 0006 btst.b [A4 + 0x6], 0x5
00003D7A 6732 beq +0x34 /* 00003DAE */
00003D7C 082C 0007 0007 btst.b [A4 + 0x7], 0x7
00003D82 6718 beq +0x1A /* 00003D9C */
00003D84 4A2D A274 tst.b [A5 - 0x5D8C]
00003D88 6706 beq +0x8 /* 00003D90 */
00003D8A 7000 moveq.l D0, 0x00
00003D8C 6000 0104 bra +0x106 /* 00003E92 */
label00003D90:
00003D90 2F0C move.l -[A7], A4
00003D92 4EBA D3E2 jsr [PC - 0x2C1E /* 00001176 */]
00003D96 588F addq.l A7, 4
00003D98 6000 00F8 bra +0xFA /* 00003E92 */
label00003D9C:
00003D9C 08AC 0006 0006 bclr.b [A4 + 0x6], 0x6
00003DA2 08AC 0005 0006 bclr.b [A4 + 0x6], 0x5
00003DA8 7000 moveq.l D0, 0x00
00003DAA 6000 00E6 bra +0xE8 /* 00003E92 */
label00003DAE:
00003DAE 082C 0006 0006 btst.b [A4 + 0x6], 0x6
00003DB4 6700 00D4 beq +0xD6 /* 00003E8A */
00003DB8 3E14 move.w D7, [A4]
00003DBA 3007 move.w D0, D7
00003DBC 4EAD 003A jsr [A5 + 0x3A]
00003DC0 FFF7 .extension 0xFF7 // unimplemented
00003DC2 FFFA .extension 0xFFA // unimplemented
00003DC4 000A 00A0 ori.b A2, 0xA0
00003DC8 009E 009C 009A ori.l [A6]+, 0x9C009A
00003DCE 4A47 tst.w D7
00003DD0 6F16 ble +0x18 /* 00003DE8 */
00003DD2 4267 clr.w -[A7]
00003DD4 3F07 move.w -[A7], D7
00003DD6 486E FFCC pea.l [A6 - 0x34]
00003DDA 4EBA C4F4 jsr [PC - 0x3B0C /* 000002D0 */]
00003DDE 301F move.w D0, [A7]+
00003DE0 3C00 move.w D6, D0
00003DE2 4A40 tst.w D0
00003DE4 6600 00A6 bne +0xA8 /* 00003E8C */
label00003DE8:
00003DE8 3D47 FFE6 move.w [A6 - 0x1A], D7
00003DEC 082C 0001 0006 btst.b [A4 + 0x6], 0x1
00003DF2 6732 beq +0x34 /* 00003E26 */
00003DF4 2D6C 000A FFEE move.l [A6 - 0x12], [A4 + 0xA]
00003DFA 306C 000E movea.w A0, [A4 + 0xE]
00003DFE 2D48 FFF2 move.l [A6 - 0xE], A0
00003E02 426E FFFA clr.w [A6 - 0x6]
00003E06 42AE FFFC clr.l [A6 - 0x4]
00003E0A 4267 clr.w -[A7]
00003E0C 486E FFCE pea.l [A6 - 0x32]
00003E10 4267 clr.w -[A7]
00003E12 4EBA C34C jsr [PC - 0x3CB4 /* 00000160 */]
00003E16 301F move.w D0, [A7]+
00003E18 3940 0002 move.w [A4 + 0x2], D0
00003E1C 3C00 move.w D6, D0
00003E1E 4A40 tst.w D0
00003E20 6704 beq +0x6 /* 00003E26 */
00003E22 3B46 A266 move.w [A5 - 0x5D9A], D6
label00003E26:
00003E26 08AC 0006 0006 bclr.b [A4 + 0x6], 0x6
00003E2C 4267 clr.w -[A7]
00003E2E 486E FFCE pea.l [A6 - 0x32]
00003E32 4267 clr.w -[A7]
00003E34 4EBA C306 jsr [PC - 0x3CFA /* 0000013C */]
00003E38 301F move.w D0, [A7]+
00003E3A 3C00 move.w D6, D0
00003E3C 4A40 tst.w D0
00003E3E 6600 004C bne +0x4E /* 00003E8C */
00003E42 4A47 tst.w D7
00003E44 6F30 ble +0x32 /* 00003E76 */
00003E46 3D6E FFCC FFE4 move.w [A6 - 0x1C], [A6 - 0x34]
00003E4C 42AE FFE0 clr.l [A6 - 0x20]
00003E50 4267 clr.w -[A7]
00003E52 486E FFCE pea.l [A6 - 0x32]
00003E56 4267 clr.w -[A7]
00003E58 4EBA C32A jsr [PC - 0x3CD6 /* 00000184 */]
00003E5C 301F move.w D0, [A7]+
00003E5E 3C00 move.w D6, D0
00003E60 4A40 tst.w D0
00003E62 6628 bne +0x2A /* 00003E8C */
00003E64 6010 bra +0x12 /* 00003E76 */
00003E66 082C 0001 0006 btst.b [A4 + 0x6], 0x1
00003E6C 6708 beq +0xA /* 00003E76 */
00003E6E 2F0C move.l -[A7], A4
00003E70 4EBA F020 jsr [PC - 0xFE0 /* 00002E92 */]
00003E74 588F addq.l A7, 4
label00003E76:
00003E76 082C 0007 0006 btst.b [A4 + 0x6], 0x7
00003E7C 6608 bne +0xA /* 00003E86 */
00003E7E 2F2C 000A move.l -[A7], [A4 + 0xA]
00003E82 4EBA C220 jsr [PC - 0x3DE0 /* 000000A4 */]
label00003E86:
00003E86 7000 moveq.l D0, 0x00
00003E88 6008 bra +0xA /* 00003E92 */
label00003E8A:
00003E8A 7CDA moveq.l D6, 0xFFFFFFDA
label00003E8C:
00003E8C 3B46 A266 move.w [A5 - 0x5D9A], D6
00003E90 70FF moveq.l D0, 0xFFFFFFFF
label00003E92:
00003E92 4CDF 10C0 movem.l A4,D7,D6, [A7]+
00003E96 4E5E unlink A6
00003E98 4E75 rts
00003E9A 4643 not.w D3
00003E9C 4C4F 5345 movem.l A6,A4,A1,A0,D6,D2,D0, A7
00003EA0 2020 move.l D0, -[A0]
export_41:
fn00003EA2:
00003EA2 4E56 0000 link A6, 0
00003EA6 42A7 clr.l -[A7]
00003EA8 2F2E 000C move.l -[A7], [A6 + 0xC]
00003EAC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003EB0 4EBA FB04 jsr [PC - 0x4FC /* 000039B6 */]
00003EB4 4FEF 000C lea.l A7, [A7 + 0xC]
00003EB8 6004 bra +0x6 /* 00003EBE */
00003EBA 4EBA 02D2 jsr [PC + 0x2D2 /* 0000418E */]
label00003EBE:
00003EBE 4E5E unlink A6
00003EC0 4E75 rts
00003EC2 464F not.w A7
00003EC4 5045 addq.w D5, 8
00003EC6 4E20 .invalid // invalid opcode 4
00003EC8 2020 move.l D0, -[A0]
00003ECA 4E56 0000 link A6, 0
00003ECE 2F2E 0010 move.l -[A7], [A6 + 0x10]
00003ED2 4EBA FE8E jsr [PC - 0x172 /* 00003D62 */]
00003ED6 588F addq.l A7, 4
00003ED8 4A40 tst.w D0
00003EDA 6704 beq +0x6 /* 00003EE0 */
00003EDC 7000 moveq.l D0, 0x00
00003EDE 6014 bra +0x16 /* 00003EF4 */
label00003EE0:
00003EE0 2F2E 0010 move.l -[A7], [A6 + 0x10]
00003EE4 2F2E 000C move.l -[A7], [A6 + 0xC]
00003EE8 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003EEC 4EBA FAC8 jsr [PC - 0x538 /* 000039B6 */]
00003EF0 4FEF 000C lea.l A7, [A7 + 0xC]
label00003EF4:
00003EF4 4E5E unlink A6
00003EF6 4E75 rts
00003EF8 4652 not.w [A2]
00003EFA 454F chk.w D2, A7
00003EFC 5045 addq.w D5, 8
00003EFE 4E20 .invalid // invalid opcode 4
fn00003F00:
00003F00 48E7 0300 movem.l -[A7], D6,D7
00003F04 7C00 moveq.l D6, 0x00
00003F06 7E00 moveq.l D7, 0x00
00003F08 601C bra +0x1E /* 00003F26 */
label00003F0A:
00003F0A 3007 move.w D0, D7
00003F0C C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00003F0E 0012 41ED ori.b [A2], 0xED
00003F12 A038 trap WriteParam
00003F14 D1C0 add.l A0, D0
00003F16 4850 pea.l [A0]
00003F18 4EBA FE48 jsr [PC - 0x1B8 /* 00003D62 */]
00003F1C 588F addq.l A7, 4
00003F1E 4A40 tst.w D0
00003F20 6702 beq +0x4 /* 00003F24 */
00003F22 5246 addq.w D6, 1
label00003F24:
00003F24 5247 addq.w D7, 1
label00003F26:
00003F26 0C47 001E cmpi.w D7, 0x1E
00003F2A 6DDE blt -0x20 /* 00003F0A */
00003F2C 3006 move.w D0, D6
00003F2E 4CDF 00C0 movem.l D7,D6, [A7]+
00003F32 4E75 rts
export_39:
00003F34 7001 moveq.l D0, 0x01
00003F36 1B40 A274 move.b [A5 - 0x5D8C], D0
00003F3A 4EBA FFC4 jsr [PC - 0x3C /* 00003F00 */]
00003F3E 4E75 rts
fn00003F40:
00003F40 4E56 0000 link A6, 0
00003F44 2F0C move.l -[A7], A4
00003F46 286E 0008 movea.l A4, [A6 + 0x8]
00003F4A 486D A276 pea.l [A5 - 0x5D8A]
00003F4E 486D A04A pea.l [A5 - 0x5FB6]
00003F52 4EBA D684 jsr [PC - 0x297C /* 000015D8 */]
00003F56 508F addq.l A7, 8
00003F58 600E bra +0x10 /* 00003F68 */
label00003F5A:
00003F5A 1014 move.b D0, [A4]
00003F5C 4880 ext.w D0
00003F5E 3F00 move.w -[A7], D0
00003F60 4EBA DAF6 jsr [PC - 0x250A /* 00001A58 */]
00003F64 548F addq.l A7, 2
00003F66 528C addq.l A4, 1
label00003F68:
00003F68 4A14 tst.b [A4]
00003F6A 66EE bne -0x10 /* 00003F5A */
00003F6C 486D A276 pea.l [A5 - 0x5D8A]
00003F70 486D A04A pea.l [A5 - 0x5FB6]
00003F74 4EBA D692 jsr [PC - 0x296E /* 00001608 */]
00003F78 508F addq.l A7, 8
00003F7A 285F movea.l A4, [A7]+
00003F7C 4E5E unlink A6
00003F7E 4E75 rts
00003F80 4350 chk.w D1, [A0]
00003F82 5554 subq.w [A4], 2
00003F84 5320 subq.b -[A0], 1
00003F86 2020 move.l D0, -[A0]
export_42:
fn00003F88:
00003F88 4E56 FFCC link A6, -0x0034
00003F8C 48E7 0108 movem.l -[A7], D7,A4
00003F90 1E2E 0009 move.b D7, [A6 + 0x9]
00003F94 286E 000A movea.l A4, [A6 + 0xA]
00003F98 082C 0005 0006 btst.b [A4 + 0x6], 0x5
00003F9E 672C beq +0x2E /* 00003FCC */
00003FA0 486D A276 pea.l [A5 - 0x5D8A]
00003FA4 2F0C move.l -[A7], A4
00003FA6 4EBA D630 jsr [PC - 0x29D0 /* 000015D8 */]
00003FAA 508F addq.l A7, 8
00003FAC 7000 moveq.l D0, 0x00
00003FAE 1007 move.b D0, D7
00003FB0 3F00 move.w -[A7], D0
00003FB2 4EBA DAA4 jsr [PC - 0x255C /* 00001A58 */]
00003FB6 548F addq.l A7, 2
00003FB8 486D A276 pea.l [A5 - 0x5D8A]
00003FBC 2F0C move.l -[A7], A4
00003FBE 4EBA D648 jsr [PC - 0x29B8 /* 00001608 */]
00003FC2 508F addq.l A7, 8
00003FC4 7000 moveq.l D0, 0x00
00003FC6 1007 move.b D0, D7
00003FC8 6000 00A4 bra +0xA6 /* 0000406E */
label00003FCC:
00003FCC 200C move.l D0, A4
00003FCE 6710 beq +0x12 /* 00003FE0 */
00003FD0 082C 0006 0006 btst.b [A4 + 0x6], 0x6
00003FD6 6708 beq +0xA /* 00003FE0 */
00003FD8 082C 0003 0006 btst.b [A4 + 0x6], 0x3
00003FDE 6620 bne +0x22 /* 00004000 */
label00003FE0:
00003FE0 082C 0003 0006 btst.b [A4 + 0x6], 0x3
00003FE6 660C bne +0xE /* 00003FF4 */
00003FE8 70C3 moveq.l D0, 0xFFFFFFC3
00003FEA 3940 0002 move.w [A4 + 0x2], D0
00003FEE 3B40 A266 move.w [A5 - 0x5D9A], D0
00003FF2 6006 bra +0x8 /* 00003FFA */
label00003FF4:
00003FF4 70DA moveq.l D0, 0xFFFFFFDA
00003FF6 3B40 A266 move.w [A5 - 0x5D9A], D0
label00003FFA:
00003FFA 70FF moveq.l D0, 0xFFFFFFFF
00003FFC 6000 0070 bra +0x72 /* 0000406E */
label00004000:
00004000 0C6C 01FF 000E cmpi.w [A4 + 0xE], 0x1FF
00004006 6F12 ble +0x14 /* 0000401A */
00004008 2F0C move.l -[A7], A4
0000400A 4EBA EE86 jsr [PC - 0x117A /* 00002E92 */]
0000400E 588F addq.l A7, 4
00004010 4A40 tst.w D0
00004012 6706 beq +0x8 /* 0000401A */
00004014 70FF moveq.l D0, 0xFFFFFFFF
00004016 6000 0056 bra +0x58 /* 0000406E */
label0000401A:
0000401A 302C 000E move.w D0, [A4 + 0xE]
0000401E 526C 000E addq.w [A4 + 0xE], 1
00004022 48C0 ext.l D0
00004024 D0AC 000A add.l D0, [A4 + 0xA]
00004028 082C 0000 0006 btst.b [A4 + 0x6], 0x0
0000402E 660A bne +0xC /* 0000403A */
00004030 7200 moveq.l D1, 0x00
00004032 1207 move.b D1, D7
00004034 0C41 000A cmpi.w D1, 0xA /* '\n' */
00004038 6704 beq +0x6 /* 0000403E */
label0000403A:
0000403A 7200 moveq.l D1, 0x00
0000403C 6002 bra +0x4 /* 00004040 */
label0000403E:
0000403E 7201 moveq.l D1, 0x01
label00004040:
00004040 4A01 tst.b D1
00004042 6706 beq +0x8 /* 0000404A */
00004044 48E7 8000 movem.l -[A7], D0
00004048 600A bra +0xC /* 00004054 */
label0000404A:
0000404A 48E7 8000 movem.l -[A7], D0
0000404E 7000 moveq.l D0, 0x00
00004050 1007 move.b D0, D7
00004052 6002 bra +0x4 /* 00004056 */
label00004054:
00004054 700D moveq.l D0, 0x0D
label00004056:
00004056 3D40 FFCC move.w [A6 - 0x34], D0
0000405A 4CDF 0001 movem.l D0, [A7]+
0000405E 2040 movea.l A0, D0
00004060 10AE FFCD move.b [A0], [A6 - 0x33]
00004064 08EC 0001 0006 bset.b [A4 + 0x6], 0x1
0000406A 7000 moveq.l D0, 0x00
0000406C 1007 move.b D0, D7
label0000406E:
0000406E 4CDF 1080 movem.l A4,D7, [A7]+
00004072 4E5E unlink A6
00004074 4E75 rts
00004076 4650 not.w [A0]
00004078 5554 subq.w [A4], 2
0000407A 4320 .invalid 1, -[A0] // invalid opcode 4 with b == 4
0000407C 2020 move.l D0, -[A0]
fn0000407E:
0000407E 4E56 0000 link A6, 0
00004082 48E7 0118 movem.l -[A7], D7,A3,A4
00004086 286E 0008 movea.l A4, [A6 + 0x8]
0000408A 266E 000C movea.l A3, [A6 + 0xC]
0000408E 200B move.l D0, A3
00004090 6710 beq +0x12 /* 000040A2 */
00004092 082B 0006 0006 btst.b [A3 + 0x6], 0x6
00004098 6708 beq +0xA /* 000040A2 */
0000409A 082B 0003 0006 btst.b [A3 + 0x6], 0x3
000040A0 661E bne +0x20 /* 000040C0 */
label000040A2:
000040A2 082B 0003 0006 btst.b [A3 + 0x6], 0x3
000040A8 660C bne +0xE /* 000040B6 */
000040AA 70C3 moveq.l D0, 0xFFFFFFC3
000040AC 3740 0002 move.w [A3 + 0x2], D0
000040B0 3B40 A266 move.w [A5 - 0x5D9A], D0
000040B4 6006 bra +0x8 /* 000040BC */
label000040B6:
000040B6 70DA moveq.l D0, 0xFFFFFFDA
000040B8 3B40 A266 move.w [A5 - 0x5D9A], D0
label000040BC:
000040BC 70FF moveq.l D0, 0xFFFFFFFF
000040BE 603A bra +0x3C /* 000040FA */
label000040C0:
000040C0 082B 0005 0006 btst.b [A3 + 0x6], 0x5
000040C6 6726 beq +0x28 /* 000040EE */
000040C8 2F0C move.l -[A7], A4
000040CA 4EBA FE74 jsr [PC - 0x18C /* 00003F40 */]
000040CE 588F addq.l A7, 4
000040D0 7000 moveq.l D0, 0x00
000040D2 6026 bra +0x28 /* 000040FA */
label000040D4:
000040D4 2F0B move.l -[A7], A3
000040D6 7000 moveq.l D0, 0x00
000040D8 1007 move.b D0, D7
000040DA 3F00 move.w -[A7], D0
000040DC 4EBA FEAA jsr [PC - 0x156 /* 00003F88 */]
000040E0 5C8F addq.l A7, 6
000040E2 7200 moveq.l D1, 0x00
000040E4 1207 move.b D1, D7
000040E6 B041 cmp.w D0, D1
000040E8 6704 beq +0x6 /* 000040EE */
000040EA 70FF moveq.l D0, 0xFFFFFFFF
000040EC 600C bra +0xE /* 000040FA */
label000040EE:
000040EE 41D4 lea.l A0, [A4]
000040F0 528C addq.l A4, 1
000040F2 1E10 move.b D7, [A0]
000040F4 4A07 tst.b D7
000040F6 66DC bne -0x22 /* 000040D4 */
000040F8 7000 moveq.l D0, 0x00
label000040FA:
000040FA 4CDF 1880 movem.l A4,A3,D7, [A7]+
000040FE 4E5E unlink A6
00004100 4E75 rts
00004102 4650 not.w [A0]
00004104 5554 subq.w [A4], 2
00004106 5320 subq.b -[A0], 1
00004108 2020 move.l D0, -[A0]
0000410A 4E56 0000 link A6, 0
0000410E 2F0C move.l -[A7], A4
00004110 286E 0008 movea.l A4, [A6 + 0x8]
00004114 082D 0005 A050 btst.b [A5 - 0x5FB0], 0x5
0000411A 6734 beq +0x36 /* 00004150 */
0000411C 7000 moveq.l D0, 0x00
0000411E 082D 0003 A050 btst.b [A5 - 0x5FB0], 0x3
00004124 56C0 sne D0
00004126 4400 neg.b D0
00004128 4A40 tst.w D0
0000412A 660E bne +0x10 /* 0000413A */
0000412C 70C3 moveq.l D0, 0xFFFFFFC3
0000412E 3B40 A04C move.w [A5 - 0x5FB4], D0
00004132 3B40 A266 move.w [A5 - 0x5D9A], D0
00004136 70FF moveq.l D0, 0xFFFFFFFF
00004138 6046 bra +0x48 /* 00004180 */
label0000413A:
0000413A 2F0C move.l -[A7], A4
0000413C 4EBA FE02 jsr [PC - 0x1FE /* 00003F40 */]
00004140 588F addq.l A7, 4
00004142 486D A27E pea.l [A5 - 0x5D82]
00004146 4EBA FDF8 jsr [PC - 0x208 /* 00003F40 */]
0000414A 588F addq.l A7, 4
0000414C 7000 moveq.l D0, 0x00
0000414E 6030 bra +0x32 /* 00004180 */
label00004150:
00004150 486D A04A pea.l [A5 - 0x5FB6]
00004154 2F0C move.l -[A7], A4
00004156 4EBA FF26 jsr [PC - 0xDA /* 0000407E */]
0000415A 508F addq.l A7, 8
0000415C 0C40 FFFF cmpi.w D0, 0xFFFF
00004160 6604 bne +0x6 /* 00004166 */
00004162 70FF moveq.l D0, 0xFFFFFFFF
00004164 601A bra +0x1C /* 00004180 */
label00004166:
00004166 486D A04A pea.l [A5 - 0x5FB6]
0000416A 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000416E 4EBA FE18 jsr [PC - 0x1E8 /* 00003F88 */]
00004172 5C8F addq.l A7, 6
00004174 0C40 000A cmpi.w D0, 0xA /* '\n' */
00004178 6704 beq +0x6 /* 0000417E */
0000417A 70FF moveq.l D0, 0xFFFFFFFF
0000417C 6002 bra +0x4 /* 00004180 */
label0000417E:
0000417E 7000 moveq.l D0, 0x00
label00004180:
00004180 285F movea.l A4, [A7]+
00004182 4E5E unlink A6
00004184 4E75 rts
00004186 5055 addq.w [A5], 8
00004188 5453 addq.w [A3], 2
0000418A 2020 move.l D0, -[A0]
0000418C 2020 move.l D0, -[A0]
fn0000418E:
0000418E 41ED A280 lea.l A0, [A5 - 0x5D80]
00004192 2008 move.l D0, A0
00004194 4E75 rts
fn00004196:
00004196 4E56 0000 link A6, 0
0000419A 48E7 0118 movem.l -[A7], D7,A3,A4
0000419E 286E 0008 movea.l A4, [A6 + 0x8]
000041A2 7E00 moveq.l D7, 0x00
000041A4 2654 movea.l A3, [A4]
000041A6 6014 bra +0x16 /* 000041BC */
label000041A8:
000041A8 3007 move.w D0, D7
000041AA C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
000041AC 000A 1213 ori.b A2, 0x13
000041B0 4881 ext.w D1
000041B2 D041 add.w D0, D1
000041B4 0640 FFD0 addi.w D0, 0xFFD0
000041B8 3E00 move.w D7, D0
000041BA 528B addq.l A3, 1
label000041BC:
000041BC 0C13 0039 cmpi.b [A3], 0x39 /* '9' */
000041C0 6E06 bgt +0x8 /* 000041C8 */
000041C2 0C13 0030 cmpi.b [A3], 0x30 /* '0' */
000041C6 6CE0 bge -0x1E /* 000041A8 */
label000041C8:
000041C8 288B move.l [A4], A3
000041CA 3007 move.w D0, D7
000041CC 4CDF 1880 movem.l A4,A3,D7, [A7]+
000041D0 4E5E unlink A6
000041D2 4E75 rts
000041D4 5354 subq.w [A4], 1
000041D6 4444 neg.w D4
000041D8 4543 chk.w D2, D3
000041DA 4F44 chk.w D7, D4